summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tm6000/tm6000.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-11-30 14:54:05 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-30 16:49:37 -0200
commit6740a932882f43056b8545e5b0b85511975d0a7c (patch)
tree12f79f93010f725c90d72f49fbfdfd96131a0c9f /drivers/media/video/tm6000/tm6000.h
parent9f711a80c5d0048e85c129f23281d9c0634e7010 (diff)
downloadop-kernel-dev-6740a932882f43056b8545e5b0b85511975d0a7c.zip
op-kernel-dev-6740a932882f43056b8545e5b0b85511975d0a7c.tar.gz
[media] tm6000: automatically load alsa and dvb modules
All devices should support alsa module. Devices with DVB will auto-load the dvb module. This way, tm6000-based devices should now have hot plugin. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tm6000/tm6000.h')
-rw-r--r--drivers/media/video/tm6000/tm6000.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/tm6000/tm6000.h b/drivers/media/video/tm6000/tm6000.h
index 2777e51..27ba659 100644
--- a/drivers/media/video/tm6000/tm6000.h
+++ b/drivers/media/video/tm6000/tm6000.h
@@ -188,6 +188,9 @@ struct tm6000_core {
/* Device Capabilities*/
struct tm6000_capabilities caps;
+ /* Used to load alsa/dvb */
+ struct work_struct request_module_wk;
+
/* Tuner configuration */
int tuner_type; /* type of the tuner */
int tuner_addr; /* tuner address */
OpenPOWER on IntegriCloud