| To: | linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 2/2] AR7: fix typo in ar7.h |
| From: | Florian Fainelli <florian@openwrt.org> |
| Date: | Sun, 16 May 2010 15:25:30 +0200 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:reply-to:to :subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=2mNYuLU5SHyxIc3YhSmJoTGbZXmCqDW9VzBH9Ljj4ks=; b=iDjJwqmpTJKZMLcqpI0OpMACxl2t6+adiOrid+FbWZ+UZQAtLjGDzQA2vVEAzLUcUf 65fJRoFpCbLlTv5xX7mQfR3Sr+YiXtMY5CULz9Wp/YIFQwwzEzlN9KzoMsi50TT1PDVF a4lm5tx55TQgVr8r2F6w7U8Q3cGqN6Qcq/dmk= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:reply-to:to:subject:date:user-agent:mime-version :content-type:content-transfer-encoding:message-id; b=KVaDQTTAYu2fHfx9z7te+o4kiSKhxi6hgLlhWjFRbOm0ShVrK5bAbRGq1vtrA0mT4q CyD9U32Kz5MUp+JFCbnlQFoTdrLjgPazeoqAo5mr52hAlMQGIbWUIGLqxdbpAD0av3D/ s4qdaHr1LEtPMEHbiqAWECv/dJNkGQDsFNDQc= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Reply-to: | Florian Fainelli <florian@openwrt.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | KMail/1.12.4 (Linux/2.6.33-2-686; KDE/4.3.4; i686; ; ) |
This fixes a typo on the AR7_RESET_PERIPHERAL define.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
arch/mips/include/asm/mach-ar7/ar7.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/mips/include/asm/mach-ar7/ar7.h
b/arch/mips/include/asm/mach-ar7/ar7.h
index f1cf389..483ffea 100644
--- a/arch/mips/include/asm/mach-ar7/ar7.h
+++ b/arch/mips/include/asm/mach-ar7/ar7.h
@@ -50,7 +50,7 @@
#define UR8_REGS_WDT (AR7_REGS_BASE + 0x0b00)
#define UR8_REGS_UART1 (AR7_REGS_BASE + 0x0f00)
-#define AR7_RESET_PEREPHERIAL 0x0
+#define AR7_RESET_PERIPHERAL 0x0
#define AR7_RESET_SOFTWARE 0x4
#define AR7_RESET_STATUS 0x8
@@ -128,7 +128,7 @@ static inline int ar7_has_high_cpmac(void)
static inline void ar7_device_enable(u32 bit)
{
void *reset_reg =
- (void *)KSEG1ADDR(AR7_REGS_RESET + AR7_RESET_PEREPHERIAL);
+ (void *)KSEG1ADDR(AR7_REGS_RESET + AR7_RESET_PERIPHERAL);
writel(readl(reset_reg) | (1 << bit), reset_reg);
msleep(20);
}
@@ -136,7 +136,7 @@ static inline void ar7_device_enable(u32 bit)
static inline void ar7_device_disable(u32 bit)
{
void *reset_reg =
- (void *)KSEG1ADDR(AR7_REGS_RESET + AR7_RESET_PEREPHERIAL);
+ (void *)KSEG1ADDR(AR7_REGS_RESET + AR7_RESET_PERIPHERAL);
writel(readl(reset_reg) & ~(1 << bit), reset_reg);
msleep(20);
}
--
1.7.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/2] AR7: use correct UART port type, Florian Fainelli |
|---|---|
| Next by Date: | Re: [PATCH 7/9] tracing: MIPS: Reduce the overhead of dynamic Function Tracer, David Daney |
| Previous by Thread: | [PATCH 1/2] AR7: use correct UART port type, Florian Fainelli |
| Next by Thread: | Re: [PATCH 2/2] AR7: fix typo in ar7.h, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |