summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@nokia.com>2008-10-18 12:28:36 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-21 14:31:20 -0200
commit36499e525f6d2c0aba7c7f619d7a6081c56707ca (patch)
tree50053848169d4f74dbe2b10c63ae2759aa9b7322 /include
parent84389910d0f760cea22a5e58ee16b3b9713d456d (diff)
downloadop-kernel-dev-36499e525f6d2c0aba7c7f619d7a6081c56707ca.zip
op-kernel-dev-36499e525f6d2c0aba7c7f619d7a6081c56707ca.tar.gz
V4L/DVB (9322): v4l2-int-if: Export more interfaces to modules
Export v4l2_int_device_try_attach_all. This allows initiating the initialisation of int if device after the drivers have been registered. Also allow drivers to call ioctls if v4l2-int-if was compiled as module. Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/v4l2-int-device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/v4l2-int-device.h b/include/media/v4l2-int-device.h
index 3351dcf..b5cee89 100644
--- a/include/media/v4l2-int-device.h
+++ b/include/media/v4l2-int-device.h
@@ -84,6 +84,8 @@ struct v4l2_int_device {
void *priv;
};
+void v4l2_int_device_try_attach_all(void);
+
int v4l2_int_device_register(struct v4l2_int_device *d);
void v4l2_int_device_unregister(struct v4l2_int_device *d);
OpenPOWER on IntegriCloud