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

Dave Jones
2003-02-12T13:44:06Z

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