diff options
author | Corey Minyard <cminyard@mvista.com> | 2017-09-12 23:10:22 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-09-28 00:03:45 +0300 |
commit | 4f3e8199c34dda46b6554191fe7a444dd6fa911f (patch) | |
tree | 551982caaaa3e96db32f5899ced9054d420fbe4e /drivers/char/ipmi/ipmi_si.h | |
parent | 910840f24bb7f9ea80fce4073445329becfdcb58 (diff) | |
download | linux-4f3e8199c34dda46b6554191fe7a444dd6fa911f.tar.xz |
ipmi_si: Move irq setup handling into the io struct
So the platform code can do it without having to access the
smi info, getting ready for pulling the platform handling
section to their own files.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_si.h')
-rw-r--r-- | drivers/char/ipmi/ipmi_si.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_si.h b/drivers/char/ipmi/ipmi_si.h index a4d993b1fe66..e84651acd772 100644 --- a/drivers/char/ipmi/ipmi_si.h +++ b/drivers/char/ipmi/ipmi_si.h @@ -5,6 +5,7 @@ * etc) to the base ipmi system interface code. */ +#include <linux/interrupt.h> #include "ipmi_si_sm.h" #define IPMI_IO_ADDR_SPACE 0 @@ -16,3 +17,7 @@ struct smi_info; int ipmi_si_add_smi(struct smi_info *info); +irqreturn_t ipmi_si_irq_handler(int irq, void *data); +void ipmi_irq_start_cleanup(struct si_sm_io *io); +int ipmi_std_irq_setup(struct si_sm_io *io); +void ipmi_irq_finish_setup(struct si_sm_io *io); |