diff options
author | Márton Németh <nm127@freemail.hu> | 2010-01-10 23:59:05 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-01-11 00:08:19 -0800 |
commit | 9cb3ce52ca45d089d5be90d2f34005296fc5a34e (patch) | |
tree | f1a1e9215e23d213c42bfb94a0cfac875fc82645 /drivers/input/touchscreen | |
parent | c6d5709384090de541158a6bba8d4ae50242ff94 (diff) | |
download | kernel_samsung_tuna-9cb3ce52ca45d089d5be90d2f34005296fc5a34e.zip kernel_samsung_tuna-9cb3ce52ca45d089d5be90d2f34005296fc5a34e.tar.gz kernel_samsung_tuna-9cb3ce52ca45d089d5be90d2f34005296fc5a34e.tar.bz2 |
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/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/usbtouchscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/usbtouchscreen.c b/drivers/input/touchscreen/usbtouchscreen.c index 09a5e73..b1b99e9 100644 --- a/drivers/input/touchscreen/usbtouchscreen.c +++ b/drivers/input/touchscreen/usbtouchscreen.c @@ -144,7 +144,7 @@ enum { .bInterfaceClass = USB_INTERFACE_CLASS_HID, \ .bInterfaceProtocol = USB_INTERFACE_PROTOCOL_MOUSE -static struct usb_device_id usbtouch_devices[] = { +static const struct usb_device_id usbtouch_devices[] = { #ifdef CONFIG_TOUCHSCREEN_USB_EGALAX /* ignore the HID capable devices, handled by usbhid */ {USB_DEVICE_HID_CLASS(0x0eef, 0x0001), .driver_info = DEVTYPE_IGNORE}, |