OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
can: peak_usb: constify struct peak_usb_adapter
[uclinux-h8/linux.git]
/
drivers
/
net
/
can
/
usb
/
peak_usb
/
pcan_usb_pro.c
diff --git
a/drivers/net/can/usb/peak_usb/pcan_usb_pro.c
b/drivers/net/can/usb/peak_usb/pcan_usb_pro.c
index
145fa87
..
56855b2
100644
(file)
--- a/
drivers/net/can/usb/peak_usb/pcan_usb_pro.c
+++ b/
drivers/net/can/usb/peak_usb/pcan_usb_pro.c
@@
-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,