Commit ebba75fd authored by Corey Minyard's avatar Corey Minyard

acpi:ipmi: Convert ipmi_user_t to struct ipmi_user *

Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
Cc: Zhao Yakui <yakui.zhao@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>
Acked-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 7876320f
...@@ -46,7 +46,7 @@ struct acpi_ipmi_device { ...@@ -46,7 +46,7 @@ struct acpi_ipmi_device {
spinlock_t tx_msg_lock; spinlock_t tx_msg_lock;
acpi_handle handle; acpi_handle handle;
struct device *dev; struct device *dev;
ipmi_user_t user_interface; struct ipmi_user *user_interface;
int ipmi_ifnum; /* IPMI interface number */ int ipmi_ifnum; /* IPMI interface number */
long curr_msgid; long curr_msgid;
bool dead; bool dead;
...@@ -125,7 +125,7 @@ ipmi_dev_alloc(int iface, struct device *dev, acpi_handle handle) ...@@ -125,7 +125,7 @@ ipmi_dev_alloc(int iface, struct device *dev, acpi_handle handle)
{ {
struct acpi_ipmi_device *ipmi_device; struct acpi_ipmi_device *ipmi_device;
int err; int err;
ipmi_user_t user; struct ipmi_user *user;
ipmi_device = kzalloc(sizeof(*ipmi_device), GFP_KERNEL); ipmi_device = kzalloc(sizeof(*ipmi_device), GFP_KERNEL);
if (!ipmi_device) if (!ipmi_device)
......
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