linux/arch/arm/plat-samsung
Mark Brown a2302b45d8 ARM: 5985/2: ARM: Fix Samsung build after "ARM: Eliminate decompressor -Dstatic= PIC hack"
Commit 5de813b6 (ARM: Eliminate decompressor -Dstatic= PIC hack) among
other things changed the declared type of the error() function to an
extern, conflicting with the forward declartion in the Samsung
plat/uncompress.h which appears to have been relying on the static
being defined away, causing build failures since error() ends up with
a GOT relocation but the linker script discards all GOT relocated
data and functions:

arch/arm/boot/compressed/decompress.o: In function `gunzip':
/home/broonie/git/linux-2.6/arch/arm/boot/compressed/../../../../lib/decompress_
+inflate.c:68: undefined reference to `error'

and so on. Fix this by moving the declaration into uncompress/misc.c
where it is shared with the rest of the code, correcting the definition
as we go.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-03-13 10:48:21 +00:00
..
include/plat ARM: 5985/2: ARM: Fix Samsung build after "ARM: Eliminate decompressor -Dstatic= PIC hack" 2010-03-13 10:48:21 +00:00
adc.c ARM: SAMSUNG: adc: disable/enable IRQ on suspend/resume 2010-02-24 01:52:14 +00:00
clock-clksrc.c ARM: SAMSUNG: Fix bug in clksrc-clk round_rate call. 2010-01-18 16:00:56 +09:00
clock.c ARM: SAMSUNG: Add error printing to s3c24xx_register_clocks 2010-01-26 17:44:33 +09:00
dev-fb.c ARM: SAMSUNG: Move device definitions in plat-samsung 2010-01-15 17:10:13 +09:00
dev-hsmmc1.c ARM: SAMSUNG: Move device definitions in plat-samsung 2010-01-15 17:10:13 +09:00
dev-hsmmc2.c ARM: SAMSUNG: Move device definitions in plat-samsung 2010-01-15 17:10:13 +09:00
dev-hsmmc.c ARM: SAMSUNG: Move device definitions in plat-samsung 2010-01-15 17:10:13 +09:00
dev-i2c0.c ARM: SAMSUNG: Move device definitions in plat-samsung 2010-01-15 17:10:13 +09:00
dev-i2c1.c ARM: SAMSUNG: Move device definitions in plat-samsung 2010-01-15 17:10:13 +09:00
dev-nand.c ARM: SAMSUNG: Move device definitions in plat-samsung 2010-01-15 17:10:13 +09:00
dev-uart.c ARM: SAMSUNG: Make UART device code common 2010-01-19 09:23:50 +09:00
dev-usb-hsotg.c ARM: SAMSUNG: Add DMA masks to hsotg device 2010-02-03 01:54:54 +00:00
dev-usb.c ARM: SAMSUNG: Add platform data registration for OHCI 2010-01-19 09:23:51 +09:00
dma.c ARM: SAMSUNG: Move the last build from plat-s3c to plat-samsung 2010-02-23 00:03:43 +00:00
gpio-config.c ARM: SAMSUNG: Remove empty gpio-core.h and use central plat/gpio-core.h 2010-01-19 18:46:02 +09:00
gpio.c ARM: SAMSUNG: Remove empty gpio-core.h and use central plat/gpio-core.h 2010-01-19 18:46:02 +09:00
gpiolib.c ARM: SAMSUNG: Staticise gpiolib implementation functions 2010-01-21 13:55:15 +09:00
init.c ARM: SAMSUNG: Move the last build from plat-s3c to plat-samsung 2010-02-23 00:03:43 +00:00
irq-uart.c ARM: SAMSUNG: Move IRQ UART handling for newer devices to plat-samsung 2010-01-15 17:10:14 +09:00
irq-vic-timer.c ARM: SAMSUNG: Move IRQ VIC timer handling out to common header files 2010-01-15 17:10:13 +09:00
Kconfig ARM: SAMSUNG: Select NO_IOPORT for plat-samsung 2010-02-24 01:52:12 +00:00
Makefile ARM: SAMSUNG: Move the last build from plat-s3c to plat-samsung 2010-02-23 00:03:43 +00:00
pm-check.c ARM: SAMSUNG: Move pm-check.c to plat-samsung 2010-01-21 13:45:58 +09:00
pm-gpio.c ARM: SAMSUNG: Remove empty gpio-core.h and use central plat/gpio-core.h 2010-01-19 18:46:02 +09:00
pm.c ARM: SAMSUNG: Move pm.c to plat-samsung 2010-02-23 00:03:43 +00:00
pwm-clock.c ARM: SAMSUNG: Move pwm-clock code into plat-samsung 2010-01-15 17:10:12 +09:00
pwm.c ARM: SAMSUNG: Move pmw.c to plat-samsung 2010-01-21 13:45:57 +09:00
time.c ARM: SAMSUNG: Move the last build from plat-s3c to plat-samsung 2010-02-23 00:03:43 +00:00