Commit a567b623 authored by Corey Minyard's avatar Corey Minyard

ipmi: Change ipmi_smi_t to struct ipmi_smi *

Get rid of this coding style violation in the user files.  Include
files will come later.
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 2911c988
This diff is collapsed.
...@@ -123,7 +123,7 @@ enum si_stat_indexes { ...@@ -123,7 +123,7 @@ enum si_stat_indexes {
struct smi_info { struct smi_info {
int intf_num; int intf_num;
ipmi_smi_t intf; struct ipmi_smi *intf;
struct si_sm_data *si_sm; struct si_sm_data *si_sm;
const struct si_sm_handlers *handlers; const struct si_sm_handlers *handlers;
spinlock_t si_lock; spinlock_t si_lock;
...@@ -1143,8 +1143,8 @@ irqreturn_t ipmi_si_irq_handler(int irq, void *data) ...@@ -1143,8 +1143,8 @@ irqreturn_t ipmi_si_irq_handler(int irq, void *data)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
static int smi_start_processing(void *send_info, static int smi_start_processing(void *send_info,
ipmi_smi_t intf) struct ipmi_smi *intf)
{ {
struct smi_info *new_smi = send_info; struct smi_info *new_smi = send_info;
int enable = 0; int enable = 0;
......
...@@ -193,7 +193,7 @@ typedef void (*ssif_i2c_done)(struct ssif_info *ssif_info, int result, ...@@ -193,7 +193,7 @@ typedef void (*ssif_i2c_done)(struct ssif_info *ssif_info, int result,
unsigned char *data, unsigned int len); unsigned char *data, unsigned int len);
struct ssif_info { struct ssif_info {
ipmi_smi_t intf; struct ipmi_smi *intf;
int intf_num; int intf_num;
spinlock_t lock; spinlock_t lock;
struct ipmi_smi_msg *waiting_msg; struct ipmi_smi_msg *waiting_msg;
...@@ -315,7 +315,7 @@ static void ipmi_ssif_unlock_cond(struct ssif_info *ssif_info, ...@@ -315,7 +315,7 @@ static void ipmi_ssif_unlock_cond(struct ssif_info *ssif_info,
static void deliver_recv_msg(struct ssif_info *ssif_info, static void deliver_recv_msg(struct ssif_info *ssif_info,
struct ipmi_smi_msg *msg) struct ipmi_smi_msg *msg)
{ {
ipmi_smi_t intf = ssif_info->intf; struct ipmi_smi *intf = ssif_info->intf;
if (!intf) { if (!intf) {
ipmi_free_smi_msg(msg); ipmi_free_smi_msg(msg);
...@@ -452,7 +452,7 @@ static void start_recv_msg_fetch(struct ssif_info *ssif_info, ...@@ -452,7 +452,7 @@ static void start_recv_msg_fetch(struct ssif_info *ssif_info,
static void handle_flags(struct ssif_info *ssif_info, unsigned long *flags) static void handle_flags(struct ssif_info *ssif_info, unsigned long *flags)
{ {
if (ssif_info->msg_flags & WDT_PRE_TIMEOUT_INT) { if (ssif_info->msg_flags & WDT_PRE_TIMEOUT_INT) {
ipmi_smi_t intf = ssif_info->intf; struct ipmi_smi *intf = ssif_info->intf;
/* Watchdog pre-timeout */ /* Watchdog pre-timeout */
ssif_inc_stat(ssif_info, watchdog_pretimeouts); ssif_inc_stat(ssif_info, watchdog_pretimeouts);
start_clear_flags(ssif_info, flags); start_clear_flags(ssif_info, flags);
...@@ -1113,8 +1113,8 @@ static void dec_usecount(void *send_info) ...@@ -1113,8 +1113,8 @@ static void dec_usecount(void *send_info)
i2c_put_adapter(ssif_info->client->adapter); i2c_put_adapter(ssif_info->client->adapter);
} }
static int ssif_start_processing(void *send_info, static int ssif_start_processing(void *send_info,
ipmi_smi_t intf) struct ipmi_smi *intf)
{ {
struct ssif_info *ssif_info = send_info; struct ssif_info *ssif_info = send_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