diff options
author | Corey Minyard <cminyard@mvista.com> | 2017-08-30 16:04:24 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-09-28 00:03:45 +0300 |
commit | 511d57dc71a22514e106f79a878e788cb22f73e3 (patch) | |
tree | 92514d64cbd792578c8aa6f0c935756afadedfaa /include/linux/ipmi.h | |
parent | 9b64a8ba901ff23fa7a91c00e6aec526fb329a97 (diff) | |
download | linux-511d57dc71a22514e106f79a878e788cb22f73e3.tar.xz |
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.h | 6 |
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 |