2006-01-20 00:25:38

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] X86_GX_SUSPMOD must depend on PCI

This patch fixes the following compile error:

...
CC arch/i386/kernel/cpu/cpufreq/gx-suspmod.o
arch/i386/kernel/cpu/cpufreq/gx-suspmod.c: In function 'gx_detect_chipset':
arch/i386/kernel/cpu/cpufreq/gx-suspmod.c:193: error: implicit declaration of function 'pci_match_id'
arch/i386/kernel/cpu/cpufreq/gx-suspmod.c:193: warning: comparison between pointer and integer
make[3]: *** [arch/i386/kernel/cpu/cpufreq/gx-suspmod.o] Error 1

<-- snip -->


Signed-off-by: Adrian Bunk <[email protected]>

---

This patch was already sent on:
- 21 Nov 2005

--- linux-2.6.15-rc1-mm2-full/arch/i386/kernel/cpu/cpufreq/Kconfig.old 2005-11-21 19:59:21.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/arch/i386/kernel/cpu/cpufreq/Kconfig 2005-11-21 19:59:48.000000000 +0100
@@ -96,6 +96,7 @@

config X86_GX_SUSPMOD
tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation"
+ depends on PCI
help
This add the CPUFreq driver for NatSemi Geode processors which
support suspend modulation.



2006-01-20 00:47:26

by Dave Jones

[permalink] [raw]
Subject: Re: [2.6 patch] X86_GX_SUSPMOD must depend on PCI

On Fri, Jan 20, 2006 at 01:25:37AM +0100, Adrian Bunk wrote:
> This patch fixes the following compile error:
>
> ...
> CC arch/i386/kernel/cpu/cpufreq/gx-suspmod.o
> arch/i386/kernel/cpu/cpufreq/gx-suspmod.c: In function 'gx_detect_chipset':
> arch/i386/kernel/cpu/cpufreq/gx-suspmod.c:193: error: implicit declaration of function 'pci_match_id'
> arch/i386/kernel/cpu/cpufreq/gx-suspmod.c:193: warning: comparison between pointer and integer
> make[3]: *** [arch/i386/kernel/cpu/cpufreq/gx-suspmod.o] Error 1
>
> <-- snip -->
>
>
> Signed-off-by: Adrian Bunk <[email protected]>

Applied, thanks Adrian.

Dave