Messages in this thread | | | Date | Wed, 12 Feb 2003 13:49:41 +0000 | From | Dave Jones <> | Subject | Re: 2.5.60-dj2: lonkhaul.c doesn't compile |
| |
On Wed, Feb 12, 2003 at 02:47:06PM +0100, Adrian Bunk wrote: > arch/i386/kernel/cpu/cpufreq/longhaul.c:644: `longhaul_driver' undeclared (first use in this function) > arch/i386/kernel/cpu/cpufreq/longhaul.c:644: (Each undeclared identifier is reported only once > arch/i386/kernel/cpu/cpufreq/longhaul.c:644: for each function it appears in.) > arch/i386/kernel/cpu/cpufreq/longhaul.c: At top level: > arch/i386/kernel/cpu/cpufreq/longhaul.c:650: `longhaul_driver' used prior to declaration > make[3]: *** [arch/i386/kernel/cpu/cpufreq/longhaul.o] Error 1
The longhaul_driver struct needs to be defined before longhaul_cpu_init() You'll need to fix up forward declaration of longhaul_cpu_init() then though too. Icky.
Dave
-- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |