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: Randy Dunlap <randy.dunlap@oracle.com> Cc: Len Brown <lenb@kernel.org> Acked-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Showing
Please register or sign in to comment