[kernel] x86: Sync kernel config
[openwrt.git] / target / linux / pxa / patches-2.6.21 / 033-compile-fix-pxa_cpufreq.patch
1 Index: linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
2 ===================================================================
3 --- linux-2.6.21.7.orig/arch/arm/mach-pxa/cpu-pxa.c
4 +++ linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
5 @@ -42,7 +42,7 @@
6  
7  #define DEBUG  0
8  
9 -#ifdef DEBUG
10 +#if defined (DEBUG) && DEBUG > 0
11    static unsigned int freq_debug = DEBUG;
12    MODULE_PARM(freq_debug, "i");
13    MODULE_PARM_DESC(freq_debug, "Set the debug messages to on=1/off=0");