]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-at91rm9200.c: make IO endian agnostic
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 7 Apr 2015 23:57:07 +0000 (09:57 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 9 Apr 2015 09:07:12 +0000 (19:07 +1000)
commitd770b03cb037b52190647854a025a7e1e0cfd4a0
treeba8ebc41c1a651192598033d254bf1b5ec69fb64
parentd2704753461a9d6d3c24276e7bfebd7f5a9d894f
drivers/rtc/rtc-at91rm9200.c: make IO endian agnostic

Change the __raw IO calls to readl/write_relaxed which makes the driver
endian agnostic to run properly on big endian systems.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Andrew Victor <linux@maxim.org.za>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-at91rm9200.c