summaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_si_sm.h
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2017-09-12 22:40:53 +0200
committerCorey Minyard <cminyard@mvista.com>2017-09-27 23:03:45 +0200
commite1eeb7f8620733fe9f6640eef48d449b925b3c23 (patch)
tree33622e0272b190a10ac7b37625af672c982f0b6b /drivers/char/ipmi/ipmi_si_sm.h
parentipmi_si: Move irq setup handling into the io struct (diff)
downloadlinux-e1eeb7f8620733fe9f6640eef48d449b925b3c23.tar.xz
linux-e1eeb7f8620733fe9f6640eef48d449b925b3c23.zip
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;