Commit a11213fc authored by Corey Minyard's avatar Corey Minyard

ipmi: Use the proper type for acpi_handle

Minor cleanup, don't use a void pointer, use the right type.
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent ceb51ca8
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/acpi.h> /* For acpi_handle */
struct module; struct module;
struct device; struct device;
...@@ -281,13 +282,15 @@ enum ipmi_addr_src { ...@@ -281,13 +282,15 @@ enum ipmi_addr_src {
const char *ipmi_addr_src_to_str(enum ipmi_addr_src src); const char *ipmi_addr_src_to_str(enum ipmi_addr_src src);
union ipmi_smi_info_union { union ipmi_smi_info_union {
#ifdef CONFIG_ACPI
/* /*
* the acpi_info element is defined for the SI_ACPI * the acpi_info element is defined for the SI_ACPI
* address type * address type
*/ */
struct { struct {
void *acpi_handle; acpi_handle acpi_handle;
} acpi_info; } acpi_info;
#endif
}; };
struct ipmi_smi_info { struct ipmi_smi_info {
......
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