diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-25 07:53:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-27 10:06:38 -0400 |
commit | 9d64fdb15b1b9ce9144cfde4001e9194ccde42d1 (patch) | |
tree | da578050af9867c0247b55099b4e7337f8fea2b4 /drivers/media/video/gspca/spca506.c | |
parent | 07767ebda385956bd2b193f9820de719475bfe6e (diff) |
V4L/DVB (8513): gspca: Set the specific per webcam information in driver_info.
This patch removes a big part of the code run at probe time.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/gspca/spca506.c')
-rw-r--r-- | drivers/media/video/gspca/spca506.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/gspca/spca506.c b/drivers/media/video/gspca/spca506.c index 36dc13c11cbb..2c281a0563e5 100644 --- a/drivers/media/video/gspca/spca506.c +++ b/drivers/media/video/gspca/spca506.c | |||
@@ -800,12 +800,12 @@ static struct sd_desc sd_desc = { | |||
800 | }; | 800 | }; |
801 | 801 | ||
802 | /* -- module initialisation -- */ | 802 | /* -- module initialisation -- */ |
803 | #define DVNM(name) .driver_info = (kernel_ulong_t) name | ||
804 | static __devinitdata struct usb_device_id device_table[] = { | 803 | static __devinitdata struct usb_device_id device_table[] = { |
805 | {USB_DEVICE(0x06e1, 0xa190), DVNM("ADS Instant VCD")}, | 804 | {USB_DEVICE(0x06e1, 0xa190)}, |
806 | /* {USB_DEVICE(0x0733, 0x0430), DVNM("UsbGrabber PV321c")}, */ | 805 | /*fixme: may be IntelPCCameraPro BRIDGE_SPCA505 |
807 | {USB_DEVICE(0x0734, 0x043b), DVNM("3DeMon USB Capture aka")}, | 806 | {USB_DEVICE(0x0733, 0x0430)}, */ |
808 | {USB_DEVICE(0x99fa, 0x8988), DVNM("Grandtec V.cap")}, | 807 | {USB_DEVICE(0x0734, 0x043b)}, |
808 | {USB_DEVICE(0x99fa, 0x8988)}, | ||
809 | {} | 809 | {} |
810 | }; | 810 | }; |
811 | MODULE_DEVICE_TABLE(usb, device_table); | 811 | MODULE_DEVICE_TABLE(usb, device_table); |