diff options
author | Márton Németh <nm127@freemail.hu> | 2009-12-10 09:31:09 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-15 21:18:48 -0500 |
commit | 37b372e5ebe187037e01885151a0afb546a38520 (patch) | |
tree | 54d6d6ba0dca57f968b697d5827eb22cc99a224b /drivers/media/video/gspca/sonixb.c | |
parent | 422eaac5d5367bab71fa2cc33393b2ea894498fe (diff) |
V4L/DVB (13621): gspca - some subdrivers: Make device_table[]s constant.
Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sonixb.c')
-rw-r--r-- | drivers/media/video/gspca/sonixb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c index 5be95bc65138..ddff2b5ee5c2 100644 --- a/drivers/media/video/gspca/sonixb.c +++ b/drivers/media/video/gspca/sonixb.c | |||
@@ -1226,7 +1226,7 @@ static const struct sd_desc sd_desc = { | |||
1226 | .driver_info = (SENSOR_ ## sensor << 8) | BRIDGE_ ## bridge | 1226 | .driver_info = (SENSOR_ ## sensor << 8) | BRIDGE_ ## bridge |
1227 | 1227 | ||
1228 | 1228 | ||
1229 | static __devinitdata struct usb_device_id device_table[] = { | 1229 | static const struct usb_device_id device_table[] __devinitconst = { |
1230 | {USB_DEVICE(0x0c45, 0x6001), SB(TAS5110, 102)}, /* TAS5110C1B */ | 1230 | {USB_DEVICE(0x0c45, 0x6001), SB(TAS5110, 102)}, /* TAS5110C1B */ |
1231 | {USB_DEVICE(0x0c45, 0x6005), SB(TAS5110, 101)}, /* TAS5110C1B */ | 1231 | {USB_DEVICE(0x0c45, 0x6005), SB(TAS5110, 101)}, /* TAS5110C1B */ |
1232 | #if !defined CONFIG_USB_SN9C102 && !defined CONFIG_USB_SN9C102_MODULE | 1232 | #if !defined CONFIG_USB_SN9C102 && !defined CONFIG_USB_SN9C102_MODULE |
@@ -1257,7 +1257,7 @@ static __devinitdata struct usb_device_id device_table[] = { | |||
1257 | MODULE_DEVICE_TABLE(usb, device_table); | 1257 | MODULE_DEVICE_TABLE(usb, device_table); |
1258 | 1258 | ||
1259 | /* -- device connect -- */ | 1259 | /* -- device connect -- */ |
1260 | static int sd_probe(struct usb_interface *intf, | 1260 | static int __devinit sd_probe(struct usb_interface *intf, |
1261 | const struct usb_device_id *id) | 1261 | const struct usb_device_id *id) |
1262 | { | 1262 | { |
1263 | return gspca_dev_probe(intf, id, &sd_desc, sizeof(struct sd), | 1263 | return gspca_dev_probe(intf, id, &sd_desc, sizeof(struct sd), |