aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/spca506.c
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2009-12-10 09:31:09 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-15 21:18:48 -0500
commit37b372e5ebe187037e01885151a0afb546a38520 (patch)
tree54d6d6ba0dca57f968b697d5827eb22cc99a224b /drivers/media/video/gspca/spca506.c
parent422eaac5d5367bab71fa2cc33393b2ea894498fe (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/spca506.c')
-rw-r--r--drivers/media/video/gspca/spca506.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/spca506.c b/drivers/media/video/gspca/spca506.c
index ab28cc23e415..39257e4e074f 100644
--- a/drivers/media/video/gspca/spca506.c
+++ b/drivers/media/video/gspca/spca506.c
@@ -685,7 +685,7 @@ static struct sd_desc sd_desc = {
685}; 685};
686 686
687/* -- module initialisation -- */ 687/* -- module initialisation -- */
688static __devinitdata struct usb_device_id device_table[] = { 688static const struct usb_device_id device_table[] __devinitconst = {
689 {USB_DEVICE(0x06e1, 0xa190)}, 689 {USB_DEVICE(0x06e1, 0xa190)},
690/*fixme: may be IntelPCCameraPro BRIDGE_SPCA505 690/*fixme: may be IntelPCCameraPro BRIDGE_SPCA505
691 {USB_DEVICE(0x0733, 0x0430)}, */ 691 {USB_DEVICE(0x0733, 0x0430)}, */
@@ -696,7 +696,7 @@ static __devinitdata struct usb_device_id device_table[] = {
696MODULE_DEVICE_TABLE(usb, device_table); 696MODULE_DEVICE_TABLE(usb, device_table);
697 697
698/* -- device connect -- */ 698/* -- device connect -- */
699static int sd_probe(struct usb_interface *intf, 699static int __devinit sd_probe(struct usb_interface *intf,
700 const struct usb_device_id *id) 700 const struct usb_device_id *id)
701{ 701{
702 return gspca_dev_probe(intf, id, &sd_desc, sizeof(struct sd), 702 return gspca_dev_probe(intf, id, &sd_desc, sizeof(struct sd),