diff options
author | Corey Minyard <cminyard@mvista.com> | 2019-02-21 21:21:17 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2019-02-22 14:12:41 +0100 |
commit | 3cd83bac481dc4fde8bedf09c8aecb3652e7e547 (patch) | |
tree | c9fe554281414cf03aa8ce0d6cfee870dbd4578c /drivers/char/ipmi/ipmi_si.h | |
parent | ipmi_si: Rename addr_type to addr_space to match what it does (diff) | |
download | linux-3cd83bac481dc4fde8bedf09c8aecb3652e7e547.tar.xz linux-3cd83bac481dc4fde8bedf09c8aecb3652e7e547.zip |
ipmi: Consolidate the adding of platform devices
It was being done in two different places now that hard-coded devices
use platform devices, and it's about to be three with hotmod switching
to platform devices. So put the code in one place.
This required some rework on some interfaces to make the type space
clean.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_si.h b/drivers/char/ipmi/ipmi_si.h index 3efc8a71aab4..49b211bf9ad7 100644 --- a/drivers/char/ipmi/ipmi_si.h +++ b/drivers/char/ipmi/ipmi_si.h @@ -7,6 +7,7 @@ */ #include <linux/interrupt.h> +#include <linux/platform_device.h> #include "ipmi_si_sm.h" #define DEFAULT_REGSPACING 1 |