Skip to content

Commit

Permalink
Make device_table const
Browse files Browse the repository at this point in the history
Suggested by Clemens Ladisch.

Signed-off-by: Antonio Ospite <ao2@amarulasolutions.com>
  • Loading branch information
ao2 committed Feb 13, 2013
1 parent 77bf991 commit 5ff1426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chip.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static void hiface_chip_disconnect(struct usb_interface *intf)
}
}

static struct usb_device_id device_table[] = {
static const struct usb_device_id device_table[] = {
{
USB_DEVICE(0x04b4, 0x0384),
.driver_info = (unsigned long)&(const struct hiface_vendor_quirk) {
Expand Down

0 comments on commit 5ff1426

Please sign in to comment.