]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipmi: Consolidate the adding of platform devices
authorCorey Minyard <cminyard@mvista.com>
Thu, 21 Feb 2019 20:21:17 +0000 (14:21 -0600)
committerCorey Minyard <cminyard@mvista.com>
Fri, 22 Feb 2019 13:12:41 +0000 (07:12 -0600)
commit3cd83bac481dc4fde8bedf09c8aecb3652e7e547
treec9fe554281414cf03aa8ce0d6cfee870dbd4578c
parentf6296bdc49c4d3794b5a3ef0012fc0889e2f3f94
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>
drivers/char/ipmi/Kconfig
drivers/char/ipmi/Makefile
drivers/char/ipmi/ipmi_dmi.c
drivers/char/ipmi/ipmi_dmi.h
drivers/char/ipmi/ipmi_plat_data.c [new file with mode: 0644]
drivers/char/ipmi/ipmi_plat_data.h [new file with mode: 0644]
drivers/char/ipmi/ipmi_si.h
drivers/char/ipmi/ipmi_si_hardcode.c
drivers/char/ipmi/ipmi_si_platform.c