From: Al Stone al.stone@linaro.org
Modified #ifdef so that DMI is not used on ARM platforms which are currently implementing ACPI reduced HW mode.
Signed-off-by: Al Stone al.stone@linaro.org --- include/linux/dmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/dmi.h b/include/linux/dmi.h index f820f0a..a03deb8 100644 --- a/include/linux/dmi.h +++ b/include/linux/dmi.h @@ -83,7 +83,7 @@ struct dmi_device { void *device_data; /* Type specific data */ };
-#ifdef CONFIG_DMI +#if IS_ENABLED(CONFIG_DMI) && !IS_ENABLED(CONFIG_ACPI_REDUCED_HARDWARE)
struct dmi_dev_onboard { struct dmi_device dev;