diff options
Diffstat (limited to 'backport/backport-include/linux/acpi.h')
-rw-r--r-- | backport/backport-include/linux/acpi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backport/backport-include/linux/acpi.h b/backport/backport-include/linux/acpi.h index ff55d76e..22f7a72c 100644 --- a/backport/backport-include/linux/acpi.h +++ b/backport/backport-include/linux/acpi.h @@ -36,7 +36,7 @@ #endif /* CONFIG_ACPI */ #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) +#ifndef ACPI_COMPANION #ifdef CONFIG_ACPI static inline struct acpi_device *_acpi_get_companion(struct device *dev) { @@ -53,5 +53,5 @@ static inline struct acpi_device *_acpi_get_companion(struct device *dev) #else #define ACPI_COMPANION(dev) (NULL) #endif /* CONFIG_ACPI */ -#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) */ +#endif /* ACPI_COMPANION */ #endif /* __BACKPORT_LINUX_ACPI_H */ |