diff options
author | Corey Minyard <cminyard@mvista.com> | 2018-04-06 03:54:04 +0200 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2018-04-18 17:22:56 +0200 |
commit | a567b6230066e3a2c964e2dc914e7f9a436806c4 (patch) | |
tree | 6c73f62b00f563e923e4866355562fd33838460b /drivers/char/ipmi/ipmi_ssif.c | |
parent | ipmi: Rename ipmi_user_t to struct ipmi_user * (diff) | |
download | linux-a567b6230066e3a2c964e2dc914e7f9a436806c4.tar.xz linux-a567b6230066e3a2c964e2dc914e7f9a436806c4.zip |
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: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_ssif.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_ssif.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c index 35a82f4bfd78..2db97fd08a8f 100644 --- a/drivers/char/ipmi/ipmi_ssif.c +++ b/drivers/char/ipmi/ipmi_ssif.c @@ -193,7 +193,7 @@ typedef void (*ssif_i2c_done)(struct ssif_info *ssif_info, int result, unsigned char *data, unsigned int len); struct ssif_info { - ipmi_smi_t intf; + struct ipmi_smi *intf; int intf_num; spinlock_t lock; struct ipmi_smi_msg *waiting_msg; @@ -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, struct ipmi_smi_msg *msg) { - ipmi_smi_t intf = ssif_info->intf; + struct ipmi_smi *intf = ssif_info->intf; if (!intf) { ipmi_free_smi_msg(msg); @@ -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) { 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 */ ssif_inc_stat(ssif_info, watchdog_pretimeouts); start_clear_flags(ssif_info, flags); @@ -1113,8 +1113,8 @@ static void dec_usecount(void *send_info) i2c_put_adapter(ssif_info->client->adapter); } -static int ssif_start_processing(void *send_info, - ipmi_smi_t intf) +static int ssif_start_processing(void *send_info, + struct ipmi_smi *intf) { struct ssif_info *ssif_info = send_info; |