summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/ipmi_si_sm.h
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2017-09-12 23:40:53 +0300
committerCorey Minyard <cminyard@mvista.com>2017-09-28 00:03:45 +0300
commite1eeb7f8620733fe9f6640eef48d449b925b3c23 (patch)
tree33622e0272b190a10ac7b37625af672c982f0b6b /drivers/char/ipmi/ipmi_si_sm.h
parent4f3e8199c34dda46b6554191fe7a444dd6fa911f (diff)
downloadlinux-e1eeb7f8620733fe9f6640eef48d449b925b3c23.tar.xz
ipmi_si: Move io setup into io structure
Where it belongs, and getting ready for pulling the platform handling into its own file. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_sm.h')
-rw-r--r--drivers/char/ipmi/ipmi_si_sm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_si_sm.h b/drivers/char/ipmi/ipmi_si_sm.h
index bf3f50cede44..9df77c664908 100644
--- a/drivers/char/ipmi/ipmi_si_sm.h
+++ b/drivers/char/ipmi/ipmi_si_sm.h
@@ -71,6 +71,10 @@ struct si_sm_io {
void (*addr_source_cleanup)(struct si_sm_io *io);
void *addr_source_data;
+ int (*io_setup)(struct si_sm_io *info);
+ void (*io_cleanup)(struct si_sm_io *info);
+ unsigned int io_size;
+
int irq;
int (*irq_setup)(struct si_sm_io *io);
void *irq_handler_data;