Commit d71c8008 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Jiri Kosina
Browse files

HID: macally: Constify macally_id_table



macally_id_table is not modified and can be made const to allow the
compiler to put it in read-only memory.

Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 857ce8c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ static __u8 *macally_report_fixup(struct hid_device *hdev, __u8 *rdesc,
	return rdesc;
}

static struct hid_device_id macally_id_table[] = {
static const struct hid_device_id macally_id_table[] = {
	{ HID_USB_DEVICE(USB_VENDOR_ID_SOLID_YEAR,
			 USB_DEVICE_ID_MACALLY_IKEY_KEYBOARD) },
	{ }