can: peak_usb: constify struct peak_usb_adapter
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 27 Jan 2015 16:15:39 +0000 (17:15 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 28 Jan 2015 13:47:05 +0000 (14:47 +0100)
commitd6b5f30d9886a4f1e00c9bf355af2a95cabafa09
treee7d701c9f89c5c678a9c8a3fb107702dfcefe9bc
parent0adfd7335b622ca3cac94810487db470f57892fc
can: peak_usb: constify struct peak_usb_adapter

A "struct peak_usb_adapter" describes a certain USB adapter, as this doesn't
change during runtime, this patch marks all USB adapter definitions as const.

Acked-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb.c
drivers/net/can/usb/peak_usb/pcan_usb_core.c
drivers/net/can/usb/peak_usb/pcan_usb_core.h
drivers/net/can/usb/peak_usb/pcan_usb_pro.c