aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_dmi.h
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/ipmi_dmi.h
parentipmi_si: Rename addr_type to addr_space to match what it does (diff)
downloadlinux-dev-3cd83bac481dc4fde8bedf09c8aecb3652e7e547.tar.xz
linux-dev-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_dmi.h')
-rw-r--r--drivers/char/ipmi/ipmi_dmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_dmi.h b/drivers/char/ipmi/ipmi_dmi.h
index 8d2b094db8e6..2dbec0461d0c 100644
--- a/drivers/char/ipmi/ipmi_dmi.h
+++ b/drivers/char/ipmi/ipmi_dmi.h
@@ -4,6 +4,6 @@
*/
#ifdef CONFIG_IPMI_DMI_DECODE
-int ipmi_dmi_get_slave_addr(enum si_type si_type, u32 flags,
+int ipmi_dmi_get_slave_addr(enum si_type si_type, unsigned int space,
unsigned long base_addr);
#endif