Explorar el Código

[CPUFREQ] 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 <bunk@stusta.de>
Signed-off-by: Dave Jones <davej@redhat.com>
Adrian Bunk hace 19 años
padre
commit
cdc9cc1d74
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      arch/i386/kernel/cpu/cpufreq/Kconfig

+ 1 - 0
arch/i386/kernel/cpu/cpufreq/Kconfig

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