diff mbox

hid: make USB device id constant

Message ID 4B4A076A.8020207@freemail.hu
State New, archived
Delegated to: Jiri Kosina
Headers show

Commit Message

Németh Márton Jan. 10, 2010, 4:59 p.m. UTC
None
diff mbox

Patch

diff -u -p a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c
--- a/drivers/hid/usbhid/hid-core.c 2010-01-07 19:08:40.000000000 +0100
+++ b/drivers/hid/usbhid/hid-core.c 2010-01-08 18:55:16.000000000 +0100
@@ -1342,7 +1342,7 @@  static int hid_reset_resume(struct usb_i

 #endif /* CONFIG_PM */

-static struct usb_device_id hid_usb_ids [] = {
+static const struct usb_device_id hid_usb_ids[] = {
 	{ .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS,
 		.bInterfaceClass = USB_INTERFACE_CLASS_HID },
 	{ }						/* Terminating entry */