From: Mauro Carvalho Chehab Date: Wed, 30 Nov 2011 16:26:10 +0000 (-0300) Subject: [media] tm6000: Allow auto-detecting tm6000 devices X-Git-Tag: firefly_0821_release~3680^2~2904^2~570 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8afc539c4a3df5da4e90c36cf21e2bc7a2572149;p=firefly-linux-kernel-4.4.55.git [media] tm6000: Allow auto-detecting tm6000 devices Now that the tm6000 driver is on a good shape, we can enable device autodetection, based on the USB ID. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/tm6000/tm6000-cards.c b/drivers/media/video/tm6000/tm6000-cards.c index 0b54132911fa..3873ce4dfdd7 100644 --- a/drivers/media/video/tm6000/tm6000-cards.c +++ b/drivers/media/video/tm6000/tm6000-cards.c @@ -640,6 +640,7 @@ static struct usb_device_id tm6000_id_table[] = { { USB_DEVICE(0x6000, 0xdec3), .driver_info = TM6010_BOARD_BEHOLD_VOYAGER_LITE }, { } }; +MODULE_DEVICE_TABLE(usb, tm6000_id_table); /* Control power led for show some activity */ void tm6000_flash_led(struct tm6000_core *dev, u8 state)