Skip to content

Commit

Permalink
[PATCH] PCI: fix pciehp compile issue when CONFIG_ACPI is not enabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
akpm@osdl.org authored and Greg Kroah-Hartman committed Jun 11, 2006
1 parent 650fb83 commit 0ce0303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/pci-acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ce0303

Please sign in to comment.