]> git.baikalelectronics.ru Git - kernel.git/commit
bfin_can: introduce ioremap to comply to archs with MMU
authorAaron Wu <Aaron.wu@analog.com>
Tue, 10 Feb 2015 09:40:35 +0000 (17:40 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 4 Mar 2015 08:52:49 +0000 (09:52 +0100)
commitf893eee45aae10dcd6258c89adb218142a42e9e0
treeef47bcb91c093e3b1726099ad6c2f39865003d0e
parentab93d5c3a24d17ba2c389c41da0fad9f6295c31f
bfin_can: introduce ioremap to comply to archs with MMU

Blackfin was built without MMU, old driver code access the IO space by
physical address, introduce the ioremap approach to be compitable with
the common style supporting MMU enabled arch.

Signed-off-by: Aaron Wu <Aaron.wu@analog.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/bfin_can.c