OSDN Git Service

can: peak_usb: constify struct peak_usb_adapter
[uclinux-h8/linux.git] / drivers / net / can / usb / peak_usb / pcan_usb_pro.c
index 145fa87..56855b2 100644 (file)
@@ -1012,7 +1012,7 @@ static int pcan_usb_pro_probe(struct usb_interface *intf)
 /*
  * describe the PCAN-USB Pro adapter
  */
-struct peak_usb_adapter pcan_usb_pro = {
+const struct peak_usb_adapter pcan_usb_pro = {
        .name = "PCAN-USB Pro",
        .device_id = PCAN_USBPRO_PRODUCT_ID,
        .ctrl_count = PCAN_USBPRO_CHANNEL_COUNT,