diff options
author | Corey Minyard <cminyard@mvista.com> | 2017-09-12 15:10:22 -0500 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-09-27 16:03:45 -0500 |
commit | 4f3e8199c34dda46b6554191fe7a444dd6fa911f (patch) | |
tree | 551982caaaa3e96db32f5899ced9054d420fbe4e /drivers/char/ipmi/ipmi_si_sm.h | |
parent | 910840f24bb7f9ea80fce4073445329becfdcb58 (diff) | |
download | linux-stable-4f3e8199c34dda46b6554191fe7a444dd6fa911f.tar.gz linux-stable-4f3e8199c34dda46b6554191fe7a444dd6fa911f.tar.bz2 linux-stable-4f3e8199c34dda46b6554191fe7a444dd6fa911f.zip |
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_sm.h')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_sm.h | 4 |
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 ffbf67f630a9..bf3f50cede44 100644 --- a/drivers/char/ipmi/ipmi_si_sm.h +++ b/drivers/char/ipmi/ipmi_si_sm.h @@ -72,6 +72,10 @@ struct si_sm_io { void *addr_source_data; int irq; + int (*irq_setup)(struct si_sm_io *io); + void *irq_handler_data; + void (*irq_cleanup)(struct si_sm_io *io); + u8 slave_addr; enum si_type si_type; struct device *dev; |