summaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_plat_data.h
Commit message (Collapse)AuthorAgeFilesLines
* ipmi: Add the i2c-addr property for SSIF interfacesCorey Minyard2019-04-241-0/+3
| | | | | | | | | | | | | | | | | This is required for SSIF to work. There was no way to know if the interface being added was SI or SSIF from the platform data, but that was required so the i2c-addr is only added for SSIF interfaces. So add a field for that. Also rework the logic a bit so that ipmi-type is not set for SSIF interfaces, as it is not necessary for that. Fixes: 3cd83bac481d ("ipmi: Consolidate the adding of platform devices") Reported-by: Kamlakant Patel <kamlakantp@marvell.com> Signed-off-by: Corey Minyard <cminyard@mvista.com> Cc: stable@vger.kernel.org # 5.1
* ipmi: Consolidate the adding of platform devicesCorey Minyard2019-02-221-0/+22
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>