summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-07-23 11:57:14 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-26 22:12:30 +0200
commitf7d0e6d67fdc300c316dfb7ca1d4aaa234171053 (patch)
treeace4348aeb292408dbdde5ed0d2f79d2064c0533 /include/media
parent[media] em28xx-v4l: fix disabling ioctl VIDIOC_S_PARM for vbi devices (diff)
downloadlinux-f7d0e6d67fdc300c316dfb7ca1d4aaa234171053.tar.xz
linux-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')
-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