From eddcc200211d9d347e21a897ffc420558e6b65ac Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 22 Jun 2008 19:08:19 +0000 Subject: [PATCH] [adm5120] use __raw_{readl,writel} routines in the GPIO code git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11560 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120/files/arch/mips/adm5120/gpio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/adm5120/files/arch/mips/adm5120/gpio.c b/target/linux/adm5120/files/arch/mips/adm5120/gpio.c index 02fd01bcbc..0cb446e8df 100644 --- a/target/linux/adm5120/files/arch/mips/adm5120/gpio.c +++ b/target/linux/adm5120/files/arch/mips/adm5120/gpio.c @@ -3,8 +3,8 @@ * * ADM5120 GPIO support * - * Copyright (C) 2007 OpenWrt.org - * Copyright (C) 2007 Gabor Juhos + * Copyright (C) 2007-2008 OpenWrt.org + * Copyright (C) 2007-2008 Gabor Juhos * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published @@ -28,8 +28,8 @@ #include #include -#define GPIO_READ(r) readl((r)) -#define GPIO_WRITE(v, r) writel((v), (r)) +#define GPIO_READ(r) __raw_readl((r)) +#define GPIO_WRITE(v, r) __raw_writel((v), (r)) #define GPIO_REG(r) (void __iomem *)(KSEG1ADDR(ADM5120_SWITCH_BASE)+r) struct adm5120_gpio_line {