diff options
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index aefe6d051ace..b123cc08773d 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -25,6 +25,10 @@ | |||
25 | #ifndef _LINUX_ACPI_H | 25 | #ifndef _LINUX_ACPI_H |
26 | #define _LINUX_ACPI_H | 26 | #define _LINUX_ACPI_H |
27 | 27 | ||
28 | #include <linux/config.h> | ||
29 | |||
30 | #ifdef CONFIG_ACPI | ||
31 | |||
28 | #ifndef _LINUX | 32 | #ifndef _LINUX |
29 | #define _LINUX | 33 | #define _LINUX |
30 | #endif | 34 | #endif |
@@ -533,4 +537,5 @@ static inline int acpi_get_pxm(acpi_handle handle) | |||
533 | 537 | ||
534 | extern int pnpacpi_disabled; | 538 | extern int pnpacpi_disabled; |
535 | 539 | ||
536 | #endif /*_LINUX_ACPI_H*/ | 540 | #endif /* CONFIG_ACPI */ |
541 | #endif /*_LINUX_ACPI_H*/ | ||