arch/arm: Fix build failure for ixp23xx-defconfig caused by typo
Subsystems (2)
PATCH 1/1 arch/arm: Fix build failure for ixp23xx-defconfig caused by typo
From: Peter Huewe <[email protected]>
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 <[email protected]>
---
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(-)
arch/arm/mach-ixp23xx/include/mach/memory.h +1 -1
@@ -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))
Signature · 1 line
1.6.4.4