summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-int-device.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@nokia.com>2008-10-18 17:28:36 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-21 18:31:20 +0200
commit36499e525f6d2c0aba7c7f619d7a6081c56707ca (patch)
tree50053848169d4f74dbe2b10c63ae2759aa9b7322 /include/media/v4l2-int-device.h
parentV4L/DVB (9321): v4l2-int-if: Define new power state changes (diff)
downloadlinux-36499e525f6d2c0aba7c7f619d7a6081c56707ca.tar.xz
linux-36499e525f6d2c0aba7c7f619d7a6081c56707ca.zip
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/media/v4l2-int-device.h')
-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 3351dcffb465..b5cee8909238 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);