[PATCH] PCI: fix pciehp compile issue when CONFIG_ACPI is not enabled
authorakpm@osdl.org <akpm@osdl.org>
Sat, 13 May 2006 15:30:52 +0000 (08:30 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 11 Jun 2006 21:02:27 +0000 (14:02 -0700)
Fix build error when CONFIG_ACPI not defined

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/pci-acpi.h

index 4877e35ae2028b97fe58b7756b52196c2d44ce8e..936ef82ed76a6f21cf07b0132da3a12efc748cb9 100644 (file)
@@ -50,7 +50,7 @@
 extern acpi_status pci_osc_control_set(acpi_handle handle, u32 flags);
 extern acpi_status pci_osc_support_set(u32 flags);
 #else
-#if !defined(acpi_status)
+#if !defined(AE_ERROR)
 typedef u32            acpi_status;
 #define AE_ERROR       (acpi_status) (0x0001)
 #endif