summaryrefslogtreecommitdiffstats
path: root/include/media/blackfin
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-07-23 06:57:14 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-26 17:12:30 -0300
commitf7d0e6d67fdc300c316dfb7ca1d4aaa234171053 (patch)
treeace4348aeb292408dbdde5ed0d2f79d2064c0533 /include/media/blackfin
parent3d3a41098e4b9580e7570026ab361cb5b0c7f037 (diff)
downloadlinux-stable-f7d0e6d67fdc300c316dfb7ca1d4aaa234171053.tar.gz
linux-stable-f7d0e6d67fdc300c316dfb7ca1d4aaa234171053.tar.bz2
linux-stable-f7d0e6d67fdc300c316dfb7ca1d4aaa234171053.zip
[media] media: blackfin: ppi: Pass device pointer to request peripheral pins
if the pinctrl driver is enabled. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Acked-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media/blackfin')
-rw-r--r--include/media/blackfin/ppi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/blackfin/ppi.h b/include/media/blackfin/ppi.h
index d0697f4edf87..61a283f2bd4b 100644
--- a/include/media/blackfin/ppi.h
+++ b/include/media/blackfin/ppi.h
@@ -91,6 +91,7 @@ struct ppi_if {
void *priv;
};
-struct ppi_if *ppi_create_instance(const struct ppi_info *info);
+struct ppi_if *ppi_create_instance(struct platform_device *pdev,
+ const struct ppi_info *info);
void ppi_delete_instance(struct ppi_if *ppi);
#endif