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 {
struct smi_info {
int intf_num;
ipmi_smi_t intf;
struct ipmi_smi *intf;
struct si_sm_data *si_sm;
const struct si_sm_handlers *handlers;
spinlock_t si_lock;
......@@ -1144,7 +1144,7 @@ irqreturn_t ipmi_si_irq_handler(int irq, void *data)
}
static int smi_start_processing(void *send_info,
ipmi_smi_t intf)
struct ipmi_smi *intf)
{
struct smi_info *new_smi = send_info;
int enable = 0;
......
......@@ -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);
......@@ -1114,7 +1114,7 @@ static void dec_usecount(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;
......
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