summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_BatterySystemDeviceProvider.c
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2014-04-29 08:33:13 +0200
committerJan Synacek <jsynacek@redhat.com>2014-04-30 15:54:14 +0200
commit55f63d29f5d2b4e82979d71386df58394e87ef5a (patch)
tree34227f5696df9b3a85c5999d2fd48f50be82681f /src/hardware/LMI_BatterySystemDeviceProvider.c
parentdab89c6afb2a2b339ebadea3d47e841cd749b5ef (diff)
downloadopenlmi-providers-55f63d29f5d2b4e82979d71386df58394e87ef5a.tar.gz
openlmi-providers-55f63d29f5d2b4e82979d71386df58394e87ef5a.tar.xz
openlmi-providers-55f63d29f5d2b4e82979d71386df58394e87ef5a.zip
libopenlmi: reorganize and gather
Make naming consistent. Gather common functionality into one library and try to use it across all providers. Introduce libtool-style versioning for libraries.
Diffstat (limited to 'src/hardware/LMI_BatterySystemDeviceProvider.c')
-rw-r--r--src/hardware/LMI_BatterySystemDeviceProvider.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hardware/LMI_BatterySystemDeviceProvider.c b/src/hardware/LMI_BatterySystemDeviceProvider.c
index ce2acf0..90a2076 100644
--- a/src/hardware/LMI_BatterySystemDeviceProvider.c
+++ b/src/hardware/LMI_BatterySystemDeviceProvider.c
@@ -21,7 +21,6 @@
#include <konkret/konkret.h>
#include "LMI_BatterySystemDevice.h"
#include "LMI_Hardware.h"
-#include "globals.h"
#include "dmidecode.h"
static const CMPIBroker* _cb;
@@ -75,7 +74,7 @@ static CMPIStatus LMI_BatterySystemDeviceEnumInstances(
get_system_creation_class_name());
LMI_BatteryRef_Set_SystemName(&lmi_batt, get_system_name());
LMI_BatteryRef_Set_CreationClassName(&lmi_batt,
- ORGID "_" BATTERY_CLASS_NAME);
+ LMI_ORGID "_" BATTERY_CLASS_NAME);
LMI_BatteryRef_Set_DeviceID(&lmi_batt, dmi_batt[i].name);
LMI_BatterySystemDevice_SetObjectPath_GroupComponent(