OSDN Git Service

can: peak: fix usage of const qualifier in pointers args
authorStephane Grosjean <s.grosjean@peak-system.com>
Thu, 19 Jan 2017 15:31:05 +0000 (16:31 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 25 Apr 2017 07:00:44 +0000 (09:00 +0200)
commit113ab88b2b689b431904e1d753e20390529ed204
treee4f87cbacb7a33b8abe92180e1a6af13ac5c1624
parent81c5e13d90db1eb1bf326e5b1f6293a0d85e966d
can: peak: fix usage of const qualifier in pointers args

Fixes the usage of the const qualifier in the memory pointer arguments
of the declared inline functions. By changing the line containing "const",
this patch also changes the name of the arg into a more usual one.

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