diff options
Diffstat (limited to 'include/media/v4l2-common.h')
-rw-r--r-- | include/media/v4l2-common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index c019c1e99895..475d0d8275e0 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -104,6 +104,17 @@ int v4l2_chip_match_host(u32 id_type, u32 chip_id); | |||
104 | 104 | ||
105 | /* ------------------------------------------------------------------------- */ | 105 | /* ------------------------------------------------------------------------- */ |
106 | 106 | ||
107 | /* Helper function for I2C legacy drivers */ | ||
108 | |||
109 | struct i2c_driver; | ||
110 | struct i2c_adapter; | ||
111 | struct i2c_client; | ||
112 | |||
113 | int v4l2_i2c_attach(struct i2c_adapter *adapter, int address, struct i2c_driver *driver, | ||
114 | const char *name, int (*probe)(struct i2c_client *)); | ||
115 | |||
116 | /* ------------------------------------------------------------------------- */ | ||
117 | |||
107 | /* Internal ioctls */ | 118 | /* Internal ioctls */ |
108 | 119 | ||
109 | /* VIDIOC_INT_DECODE_VBI_LINE */ | 120 | /* VIDIOC_INT_DECODE_VBI_LINE */ |