diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-03 16:10:47 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-03 16:10:47 +0000 |
commit | 8eed7abf4186c92a1177971a6fa435fcd3ca7e6f (patch) | |
tree | ff511aeef7ff8bffba7e866890a191f71fe0a3d0 /target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c | |
parent | db72b8cfc10b33ea74f7b6ef2781d3f34c2cd279 (diff) |
[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
Diffstat (limited to 'target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c')
-rw-r--r-- | target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 = { |