[PATCH 03/03] ARM: shmobile: Remove mach/uncompress.h

Magnus Damm magnus.damm at gmail.com
Tue Jan 20 03:58:20 PST 2015


From: Magnus Damm <damm+renesas at opensource.se>

Convert ARCH_SHMOBILE_LEGACY to make use of <debug/uncompress.h>
and remove the now unused <mach/uncompress.h>.

Signed-off-by: Magnus Damm <damm+renesas at opensource.se>
---

 arch/arm/Kconfig.debug                           |    3 ++-
 arch/arm/mach-shmobile/include/mach/uncompress.h |   19 -------------------
 2 files changed, 2 insertions(+), 20 deletions(-)

--- 0001/arch/arm/Kconfig.debug
+++ work/arch/arm/Kconfig.debug	2015-01-20 20:26:10.527765900 +0900
@@ -1441,7 +1441,8 @@ config DEBUG_UNCOMPRESS
 config UNCOMPRESS_INCLUDE
 	string
 	default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \
-					PLAT_SAMSUNG || ARCH_EFM32
+					PLAT_SAMSUNG || ARCH_EFM32 || \
+					ARCH_SHMOBILE_LEGACY
 	default "mach/uncompress.h"
 
 config EARLY_PRINTK
--- 0001/arch/arm/mach-shmobile/include/mach/uncompress.h
+++ /dev/null	2015-01-13 15:44:39.280208949 +0900
@@ -1,19 +0,0 @@
-#ifndef __ASM_MACH_UNCOMPRESS_H
-#define __ASM_MACH_UNCOMPRESS_H
-
-/*
- * This does not append a newline
- */
-static void putc(int c)
-{
-}
-
-static inline void flush(void)
-{
-}
-
-static void arch_decomp_setup(void)
-{
-}
-
-#endif /* __ASM_MACH_UNCOMPRESS_H */



More information about the linux-arm-kernel mailing list