1
0
Fork 0
alistair23-linux/arch/arm/mach-w90x900/include/mach
Arnd Bergmann 4d2b7d4cb4 ARM: 8532/1: uncompress: mark putc as inline
When CONFIG_DEBUG_ICEDCC is set, we don't use the platform
specific putc() function, but use icedcc_putc() instead, so
putc is unused and causes a compile time warning:

In file included from ../arch/arm/boot/compressed/misc.c:28:0:
arch/arm/mach-rpc/include/mach/uncompress.h:79:13: warning: 'putc' defined but not used [-Wunused-function]
arch/arm/mach-w90x900/include/mach/uncompress.h:30:13: warning: 'putc' defined but not used [-Wunused-function]

On most platforms, this does not happen, because putc is defined
as 'static inline' so the compiler will automatically drop it
when it's unused.

This changes the remaining seven platforms to behave the same way.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2016-02-22 16:55:42 +00:00
..
entry-macro.S ARM: w90x900: fix legacy assembly syntax 2013-02-14 15:04:35 +01:00
hardware.h [ARM] 5338/1: Add Nuvoton W90P910 Platform support 2008-12-03 21:57:16 +00:00
irqs.h [ARM] 5494/1: Add w90p910 irq number define 2009-05-07 15:24:17 +01:00
map.h [ARM] 5493/1: Add w90p910 IC interface controller regester map 2009-05-07 15:24:16 +01:00
mfp.h ARM: 7158/1: add new MFP implement for NUC900 2011-11-12 11:33:08 +00:00
regs-clock.h ARM: 5634/1: Add static setting cpu frequence for w90p910 platform 2009-08-01 16:23:57 +01:00
regs-irq.h [ARM] 5338/1: Add Nuvoton W90P910 Platform support 2008-12-03 21:57:16 +00:00
regs-ldm.h NUC900 LCD Controller Driver 2010-03-12 15:52:34 -08:00
regs-serial.h [ARM] 5338/1: Add Nuvoton W90P910 Platform support 2008-12-03 21:57:16 +00:00
uncompress.h ARM: 8532/1: uncompress: mark putc as inline 2016-02-22 16:55:42 +00:00