Commit 4f6fa42c authored by Randy Dunlap's avatar Randy Dunlap Committed by james toy

Fix about 100 build errors/warnings when ACPI is not enabled. E.g.:

drivers/platform/x86/cmpc_acpi.c:50: error: dereferencing pointer to incomplete type
drivers/platform/x86/cmpc_acpi.c:55: error: dereferencing pointer to incomplete type
drivers/platform/x86/cmpc_acpi.c:56: error: dereferencing pointer to incomplete type
drivers/platform/x86/cmpc_acpi.c:72: warning: 'struct acpi_device' declared inside parameter list
drivers/platform/x86/cmpc_acpi.c:77: error: dereferencing pointer to incomplete type
drivers/platform/x86/cmpc_acpi.c:79: error: dereferencing pointer to incomplete type
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: Len Brown <lenb@kernel.org>
Acked-by: default avatarThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 753e3856
......@@ -438,7 +438,7 @@ config ACPI_TOSHIBA
config ACPI_CMPC
tristate "CMPC Laptop Extras"
depends on X86
depends on X86 && ACPI
select INPUT
select BACKLIGHT_CLASS_DEVICE
default n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment