summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/Kconfig
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2019-02-21 14:21:17 -0600
committerCorey Minyard <cminyard@mvista.com>2019-02-22 07:12:41 -0600
commit3cd83bac481dc4fde8bedf09c8aecb3652e7e547 (patch)
treec9fe554281414cf03aa8ce0d6cfee870dbd4578c /drivers/char/ipmi/Kconfig
parentf6296bdc49c4d3794b5a3ef0012fc0889e2f3f94 (diff)
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/Kconfig')
-rw-r--r--drivers/char/ipmi/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/char/ipmi/Kconfig b/drivers/char/ipmi/Kconfig
index c108441882cc..94719fc6ff9d 100644
--- a/drivers/char/ipmi/Kconfig
+++ b/drivers/char/ipmi/Kconfig
@@ -18,6 +18,10 @@ menuconfig IPMI_HANDLER
If unsure, say N.
config IPMI_DMI_DECODE
+ select IPMI_PLAT_DATA
+ bool
+
+config IPMI_PLAT_DATA
bool
if IPMI_HANDLER
@@ -56,6 +60,7 @@ config IPMI_DEVICE_INTERFACE
config IPMI_SI
tristate 'IPMI System Interface handler'
+ select IPMI_PLAT_DATA
help
Provides a driver for System Interfaces (KCS, SMIC, BT).
Currently, only KCS and SMIC are supported. If