diff options
Diffstat (limited to 'arch/arm/cpu/arm926ejs')
| -rw-r--r-- | arch/arm/cpu/arm926ejs/omap/Makefile | 3 | ||||
| -rw-r--r-- | arch/arm/cpu/arm926ejs/omap/cpuinfo.c | 4 | 
2 files changed, 4 insertions, 3 deletions
| diff --git a/arch/arm/cpu/arm926ejs/omap/Makefile b/arch/arm/cpu/arm926ejs/omap/Makefile index bd0a2fbe9..add923276 100644 --- a/arch/arm/cpu/arm926ejs/omap/Makefile +++ b/arch/arm/cpu/arm926ejs/omap/Makefile @@ -5,5 +5,6 @@  # SPDX-License-Identifier:	GPL-2.0+  # -obj-y	= timer.o cpuinfo.o +obj-y	= timer.o +obj-$(CONFIG_DISPLAY_CPUINFO) += cpuinfo.o  obj-y	+= reset.o diff --git a/arch/arm/cpu/arm926ejs/omap/cpuinfo.c b/arch/arm/cpu/arm926ejs/omap/cpuinfo.c index 02332eee0..587d99a2b 100644 --- a/arch/arm/cpu/arm926ejs/omap/cpuinfo.c +++ b/arch/arm/cpu/arm926ejs/omap/cpuinfo.c @@ -13,7 +13,7 @@  #include <command.h>  #include <linux/compiler.h> -#if defined(CONFIG_DISPLAY_CPUINFO) && defined(CONFIG_OMAP) +#if defined(CONFIG_OMAP)  #define omap_readw(x)		*(volatile unsigned short *)(x)  #define omap_readl(x)		*(volatile unsigned long *)(x) @@ -239,4 +239,4 @@ int print_cpuinfo (void)  	return 0;  } -#endif /* #if defined(CONFIG_DISPLAY_CPUINFO) && defined(CONFIG_OMAP) */ +#endif /* #if defined(CONFIG_OMAP) */ |