clocksource, acpi_pm.c: put acpi_pm_read_slow() under CONFIG_PCI
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 1 Dec 2008 22:18:12 +0000 (14:18 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 12 Dec 2008 14:05:28 +0000 (15:05 +0100)
commit0a57b783018a77ca16097198844438bdff4d012e
tree099a0e6c1fdb1c4da74b8c5af8b6b003096c70bd
parent6c34bc2976b30dc8b56392c020e25bae1f363cab
clocksource, acpi_pm.c: put acpi_pm_read_slow() under CONFIG_PCI

acpi_pm_read_slow() is only used when CONFIG_PCI=y, so move the definition
inside the ifdef.

Otherwise this causes a "defined but not used" warning when building with
CONFIG_ACPI=y and CONFIG_PCI=n (that's not supported yet, but it could
be).

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: mingo@elte.hu
Cc: johnstul@us.ibm.com
Cc: akpm@linux-foundation.org
Cc: bjorn.helgaas@hp.com
Cc: lenb@kernel.org
Cc: linux@dominikbrodowski.net
Cc: tglx@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/clocksource/acpi_pm.c