Re: 2.5.60-dj2: lonkhaul.c doesn't compile

From: Dave Jones (
Date: Wed Feb 12 2003 - 08:49:41 EST

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 Jones.
| SuSE Labs
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:41 EST