From 8eed7abf4186c92a1177971a6fa435fcd3ca7e6f Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 3 Oct 2012 16:10:47 +0000 Subject: [mcs814x] more convertions to {read,write}_relaxed I/O accessors git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33604 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c') diff --git a/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c b/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c index b679c0442..68b0a0dd1 100644 --- a/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c +++ b/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c @@ -89,12 +89,12 @@ static void mcs814x_eth_buffer_shifting_set(u8 value) { u8 reg; - reg = __raw_readb(mcs814x_sysdbg_base + SYSDBG_SYSCTL_MAC); + reg = readb_relaxed(mcs814x_sysdbg_base + SYSDBG_SYSCTL_MAC); if (value) reg |= BUF_SHIFT_BIT; else reg &= ~BUF_SHIFT_BIT; - __raw_writeb(reg, mcs814x_sysdbg_base + SYSDBG_SYSCTL_MAC); + writeb_relaxed(reg, mcs814x_sysdbg_base + SYSDBG_SYSCTL_MAC); } static struct of_device_id mcs814x_eth_ids[] __initdata = { -- cgit v1.2.3