From: Corey Minyard Date: Fri, 10 Oct 2014 22:47:04 +0000 (-0500) Subject: ipmi: Use the proper type for acpi_handle X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a11213fc36d29d42ab00d400796e98fc770c93b9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ipmi: Use the proper type for acpi_handle Minor cleanup, don't use a void pointer, use the right type. Signed-off-by: Corey Minyard --- diff --git a/include/linux/ipmi.h b/include/linux/ipmi.h index 47b8f8ddb2b1..838dbfa3c331 100644 --- a/include/linux/ipmi.h +++ b/include/linux/ipmi.h @@ -37,6 +37,7 @@ #include #include +#include /* For acpi_handle */ struct module; struct device; @@ -281,13 +282,15 @@ enum ipmi_addr_src { const char *ipmi_addr_src_to_str(enum ipmi_addr_src src); union ipmi_smi_info_union { +#ifdef CONFIG_ACPI /* * the acpi_info element is defined for the SI_ACPI * address type */ struct { - void *acpi_handle; + acpi_handle acpi_handle; } acpi_info; +#endif }; struct ipmi_smi_info {