aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:10:02 +0000
committerAndy Green <andy@openmoko.com>2008-11-19 17:10:02 +0000
commit05d5412711936b6ae9c9bf12e8980853bd9ab6c2 (patch)
tree874801613261324984c7263a206573fe7a3945f5
parent76076285f3a3fe14ce40e965a06afbb482b55d45 (diff)
tracking-2.6.27-rc1-gpio-redef.patch
Signed-off-by: Andy Green <andy@openmoko.com>
-rwxr-xr-xbuild2
-rw-r--r--include/asm-arm/arch-s3c2410/gpio.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/build b/build
index 5bd3d2da7dc..8c78e8da403 100755
--- a/build
+++ b/build
@@ -4,7 +4,7 @@ set -x
export CROSS_COMPILE=../../cross/bin/arm-angstrom-linux-gnueabi-
make ARCH=arm silentoldconfig
-if make -j5 ARCH=arm; then
+if make -j5 ARCH=arm CONFIG_DEBUG_SECTION_MISMATCH=y ; then
${CROSS_COMPILE}objcopy -O binary -R .note -R .comment -S arch/arm/boot/compressed/vmlinux linux.bin
mkimage -A arm -O linux -T kernel -C none -a 30008000 -e 30008000 -n "Openmoko Kernel Image Neo1973(GTA02)" -d linux.bin uImage.bin
exit 0
diff --git a/include/asm-arm/arch-s3c2410/gpio.h b/include/asm-arm/arch-s3c2410/gpio.h
index 9963ca3a571..9c1a7ebf080 100644
--- a/include/asm-arm/arch-s3c2410/gpio.h
+++ b/include/asm-arm/arch-s3c2410/gpio.h
@@ -11,8 +11,10 @@
* published by the Free Software Foundation.
*/
+#if 0
#define gpio_get_value __gpio_get_value
#define gpio_set_value __gpio_set_value
+#endif
#define gpio_cansleep __gpio_cansleep
#ifndef __ASM_ARCH_S3C2410_GPIO_H