Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <cminyard@mvista.com>

+4 -1
+4 -1
include/linux/ipmi.h
··· 37 37 38 38 #include <linux/list.h> 39 39 #include <linux/proc_fs.h> 40 + #include <linux/acpi.h> /* For acpi_handle */ 40 41 41 42 struct module; 42 43 struct device; ··· 282 281 const char *ipmi_addr_src_to_str(enum ipmi_addr_src src); 283 282 284 283 union ipmi_smi_info_union { 284 + #ifdef CONFIG_ACPI 285 285 /* 286 286 * the acpi_info element is defined for the SI_ACPI 287 287 * address type 288 288 */ 289 289 struct { 290 - void *acpi_handle; 290 + acpi_handle acpi_handle; 291 291 } acpi_info; 292 + #endif 292 293 }; 293 294 294 295 struct ipmi_smi_info {