can: c_can: make {read,write}_reg functions const
authorPavel Machek <pavel@denx.de>
Tue, 13 May 2014 13:09:14 +0000 (15:09 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 19 May 2014 07:38:22 +0000 (09:38 +0200)
commite07e83ae600ea51b857e02132220eb7b7e52e928
treeca8cc76acb57f134307c4029b13c8af4eb6711ab
parentfdddfab5c91ac6632595dd852d912624d80951a9
can: c_can: make {read,write}_reg functions const

This patch makes the {read,write}_reg functions const, this is a preparation to
make use of {read,write}_reg in the hwinit callback.

Signed-off-by: Thor Thayer <tthayer@altera.com>
Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can.h
drivers/net/can/c_can/c_can_pci.c
drivers/net/can/c_can/c_can_platform.c