[<prev] [next>] [day] [month] [year] [list]
Message-Id: <201001181818.10397.PeterHuewe@gmx.de>
Date: Mon, 18 Jan 2010 18:18:10 +0100
From: Peter Hüwe <PeterHuewe@....de>
To: Lennert Buytenhek <kernel@...tstofly.org>
Cc: Russell King <linux@....linux.org.uk>,
"Anders Grafström"
<anders.grafstrom@...insight.net>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH] arch/arm: Fix build failure for ixp23xx-defconfig caused by typo
From: Peter Huewe <peterhuewe@....de>
Date: Mon, 18 Jan 2010 18:07:20 +0100
This patch fixes a build failure[1] caused by an odd parenthesis.
References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2020080/
Signed-off-by: Peter Huewe <peterhuewe@....de>
---
KernelVersion: 2.6.33-rc4
Checkpatch generates warnings for the patch - but this is due to the original code, not the change.
arch/arm/mach-ixp23xx/include/mach/memory.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-ixp23xx/include/mach/memory.h b/arch/arm/mach-ixp23xx/include/mach/memory.h
index 94a3a86..6ef65d8 100644
--- a/arch/arm/mach-ixp23xx/include/mach/memory.h
+++ b/arch/arm/mach-ixp23xx/include/mach/memory.h
@@ -19,7 +19,7 @@
*/
#define PHYS_OFFSET (0x00000000)
-#define IXP23XX_PCI_SDRAM_OFFSET (*((volatile int *)IXP23XX_PCI_SDRAM_BAR) & 0xfffffff0))
+#define IXP23XX_PCI_SDRAM_OFFSET (*((volatile int *)IXP23XX_PCI_SDRAM_BAR) & 0xfffffff0)
#define __phys_to_bus(x) ((x) + (IXP23XX_PCI_SDRAM_OFFSET - PHYS_OFFSET))
#define __bus_to_phys(x) ((x) - (IXP23XX_PCI_SDRAM_OFFSET - PHYS_OFFSET))
--
1.6.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists