summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/gtco.c
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2010-01-11 08:59:05 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-01-11 09:08:19 +0100
commit9cb3ce52ca45d089d5be90d2f34005296fc5a34e (patch)
treef1a1e9215e23d213c42bfb94a0cfac875fc82645 /drivers/input/tablet/gtco.c
parentInput: xen-kbdfront - make xenbus device ids constant (diff)
downloadlinux-9cb3ce52ca45d089d5be90d2f34005296fc5a34e.tar.xz
linux-9cb3ce52ca45d089d5be90d2f34005296fc5a34e.zip
Input: make USB device ids constant
The id_table field of the struct usb_device_id is constant in <linux/usb.h> so it makes sense to mark the initialization data also constant. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet/gtco.c')
-rw-r--r--drivers/input/tablet/gtco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c
index 3d32d3f4e486..866a9ee1af1a 100644
--- a/drivers/input/tablet/gtco.c
+++ b/drivers/input/tablet/gtco.c
@@ -92,7 +92,7 @@ Scott Hill shill@gtcocalcomp.com
/* DATA STRUCTURES */
/* Device table */
-static struct usb_device_id gtco_usbid_table [] = {
+static const struct usb_device_id gtco_usbid_table[] = {
{ USB_DEVICE(VENDOR_ID_GTCO, PID_400) },
{ USB_DEVICE(VENDOR_ID_GTCO, PID_401) },
{ USB_DEVICE(VENDOR_ID_GTCO, PID_1000) },