]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42dedaea0f72a8952ead5ae3b8347b42c169c360
treee4f87cbacb7a33b8abe92180e1a6af13ac5c1624
parentac5a3f3c074840166fd3bb53bf7cc96b68d3e3f6
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