clocksource/drivers/at91: Fix IO endianness
authorBen Dooks <ben.dooks@codethink.co.uk>
Mon, 30 Mar 2015 20:17:09 +0000 (22:17 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 31 Mar 2015 07:15:58 +0000 (09:15 +0200)
commit4806c87f017d8a7003ad34886f58c3b9e023df6a
tree20b2e4d5b3815b97798185ad295c1b789cf5c0f0
parent37b8b003c483191a327a740fc32c1993959e7ae9
clocksource/drivers/at91: Fix IO endianness

Fix the use of __raw IO accessor with the readl/writel_relaxed()
versions to allow the code to be used on a system running in big
endian mode.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Andrew Victor <linux@maxim.org.za>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Linux ARM Kernel <linux-arm-kernel@lists.infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: digetx@gmail.com
Cc: hdegoede@redhat.com
Cc: laurent.pinchart+renesas@ideasonboard.com
Cc: maxime.ripard@free-electrons.com
Cc: viresh.kumar@linaro.org
Link: http://lkml.kernel.org/r/1427746633-9137-7-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/clocksource/timer-atmel-pit.c