summaryrefslogtreecommitdiffstats
path: root/include/linux/ipmi.h
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2017-08-30 08:04:24 -0500
committerCorey Minyard <cminyard@mvista.com>2017-09-27 16:03:45 -0500
commit511d57dc71a22514e106f79a878e788cb22f73e3 (patch)
tree92514d64cbd792578c8aa6f0c935756afadedfaa /include/linux/ipmi.h
parent9b64a8ba901ff23fa7a91c00e6aec526fb329a97 (diff)
downloadblackbird-obmc-linux-511d57dc71a22514e106f79a878e788cb22f73e3.tar.gz
blackbird-obmc-linux-511d57dc71a22514e106f79a878e788cb22f73e3.zip
ipmi: Get the device id through a function
This makes getting the device id consistent, and make it possible to add a function to fetch it dynamically later. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include/linux/ipmi.h')
-rw-r--r--include/linux/ipmi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/ipmi.h b/include/linux/ipmi.h
index f1045b2c6a00..80fc3f798984 100644
--- a/include/linux/ipmi.h
+++ b/include/linux/ipmi.h
@@ -113,9 +113,9 @@ int ipmi_create_user(unsigned int if_num,
int ipmi_destroy_user(ipmi_user_t user);
/* Get the IPMI version of the BMC we are talking to. */
-void ipmi_get_version(ipmi_user_t user,
- unsigned char *major,
- unsigned char *minor);
+int ipmi_get_version(ipmi_user_t user,
+ unsigned char *major,
+ unsigned char *minor);
/* Set and get the slave address and LUN that we will use for our
source messages. Note that this affects the interface, not just
OpenPOWER on IntegriCloud