xen/acpi: Fix Kconfig dependency on CPU_FREQ
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 24 Mar 2012 13:18:57 +0000 (09:18 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 24 Mar 2012 13:23:06 +0000 (09:23 -0400)
commitdf7a3ee29b775edd1c2d75cf0b128b174bd4091e
treedd06376cb8f71b6914420c99b827baba3ce33867
parentb9136d207f0c05c96c6b9c980fa7f7fd541a65a8
xen/acpi: Fix Kconfig dependency on CPU_FREQ

The functions: "acpi_processor_*" sound like they depend on CONFIG_ACPI_PROCESSOR
but in reality they are exposed when CONFIG_CPU_FREQ=[y|m]. As such
update the Kconfig to have this dependency and fix compile issues:

ERROR: "acpi_processor_unregister_performance" [drivers/xen/xen-acpi-processor.ko] undefined!
ERROR: "acpi_processor_notify_smm" [drivers/xen/xen-acpi-processor.ko] undefined!
ERROR: "acpi_processor_register_performance" [drivers/xen/xen-acpi-processor.ko] undefined!
ERROR: "acpi_processor_preregister_performance" [drivers/xen/xen-acpi-processor.ko] undefined!

Note: We still need the CONFIG_ACPI
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/Kconfig