aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx.h
diff options
context:
space:
mode:
authorSascha Sommer <saschasommer@freenet.de>2007-11-04 06:06:48 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:01:56 -0500
commitfad7b958e753e18ff443786360f7846da50a3085 (patch)
tree7bb5af47b1c5b43269826983a16d72dbf959ecea /drivers/media/video/em28xx/em28xx.h
parentf1f32849d65ab1eacfedbabb624876ac06c1af9f (diff)
V4L/DVB (6545): em28xx: autodetect Cinergy 200 USB and VGear PocketTV
Adds autodetection support for the Cinergy200 USB and the VGear PocketTV. Whenever a usb device with generic empia em2800 usb ids is detected the device gets scanned for connected i2c devices. If the device list matches an em2800 device in the device list the model id gets changed accordingly. Signed-off-by: Sascha Sommer <saschasommer@freenet.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx.h')
-rw-r--r--drivers/media/video/em28xx/em28xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 70fddd45d1f7..c2531da2e618 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -260,6 +260,7 @@ struct em28xx {
260 int type; 260 int type;
261 261
262 unsigned long hash; /* eeprom hash - for boards with generic ID */ 262 unsigned long hash; /* eeprom hash - for boards with generic ID */
263 unsigned long i2c_hash; /* i2c devicelist hash - for boards with generic ID */
263 264
264 /* states */ 265 /* states */
265 enum em28xx_dev_state state; 266 enum em28xx_dev_state state;
@@ -296,6 +297,7 @@ struct em28xx {
296/* Provided by em28xx-i2c.c */ 297/* Provided by em28xx-i2c.c */
297 298
298void em28xx_i2c_call_clients(struct em28xx *dev, unsigned int cmd, void *arg); 299void em28xx_i2c_call_clients(struct em28xx *dev, unsigned int cmd, void *arg);
300void em28xx_do_i2c_scan(struct em28xx *dev);
299int em28xx_i2c_register(struct em28xx *dev); 301int em28xx_i2c_register(struct em28xx *dev);
300int em28xx_i2c_unregister(struct em28xx *dev); 302int em28xx_i2c_unregister(struct em28xx *dev);
301 303