[ar71xx] fix compiler warnings in the m25p80 driver on 2.6.28
[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");
This page took 0.045636 seconds and 5 git commands to generate.