summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libopenbmc_intf/Makefile4
-rw-r--r--libopenbmc_intf/gpio_configs.c (renamed from libopenbmc_intf/power_gpio.c)2
-rw-r--r--libopenbmc_intf/gpio_configs.h (renamed from libopenbmc_intf/power_gpio.h)0
-rw-r--r--op-hostctl/control_host_obj.c2
-rw-r--r--op-pwrctl/power_control_obj.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/libopenbmc_intf/Makefile b/libopenbmc_intf/Makefile
index fe17dc9..df6ccf0 100644
--- a/libopenbmc_intf/Makefile
+++ b/libopenbmc_intf/Makefile
@@ -5,7 +5,7 @@ PACKAGE_DEPS=gio-unix-2.0 glib-2.0
SONAME=libopenbmc_intf.so
VERSION=1
LIBOBMC=$(SONAME).$(VERSION)
-INCLUDES=openbmc_intf.h openbmc.h gpio.h power_gpio.h
+INCLUDES=openbmc_intf.h openbmc.h gpio.h gpio_configs.h
LDLIBS+=$(shell pkg-config --libs $(PACKAGE_DEPS))
ALL_CFLAGS+=$(shell pkg-config --cflags $(PACKAGE_DEPS)) -fPIC -Werror $(CFLAGS)
@@ -18,7 +18,7 @@ all: $(SONAME)
$(SONAME): $(LIBOBMC)
ln -sf $^ $@
-$(LIBOBMC): lib%.so.$(VERSION): %.o gpio.o power_gpio.o
+$(LIBOBMC): lib%.so.$(VERSION): %.o gpio.o gpio_configs.o
$(CC) -shared $(CFLAGS) $(LDFLAGS) -Wl,-soname,$(SONAME) \
-o $@ $^ $(LDLIBS)
diff --git a/libopenbmc_intf/power_gpio.c b/libopenbmc_intf/gpio_configs.c
index a3fcc36..63c6e48 100644
--- a/libopenbmc_intf/power_gpio.c
+++ b/libopenbmc_intf/gpio_configs.c
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-#include "power_gpio.h"
+#include "gpio_configs.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/libopenbmc_intf/power_gpio.h b/libopenbmc_intf/gpio_configs.h
index ab01fe5..ab01fe5 100644
--- a/libopenbmc_intf/power_gpio.h
+++ b/libopenbmc_intf/gpio_configs.h
diff --git a/op-hostctl/control_host_obj.c b/op-hostctl/control_host_obj.c
index c0b4e12..6108467 100644
--- a/op-hostctl/control_host_obj.c
+++ b/op-hostctl/control_host_obj.c
@@ -8,7 +8,7 @@
#include <openbmc_intf.h>
#include <openbmc.h>
#include <gpio.h>
-#include <power_gpio.h>
+#include <gpio_configs.h>
/* ------------------------------------------------------------------------- */
static const gchar* dbus_object_path = "/org/openbmc/control";
diff --git a/op-pwrctl/power_control_obj.c b/op-pwrctl/power_control_obj.c
index 493b588..bd0287a 100644
--- a/op-pwrctl/power_control_obj.c
+++ b/op-pwrctl/power_control_obj.c
@@ -10,7 +10,7 @@
#include <openbmc_intf.h>
#include <openbmc.h>
#include <gpio.h>
-#include <power_gpio.h>
+#include <gpio_configs.h>
/* ------------------------------------------------------------------------- */
static const gchar* dbus_object_path = "/org/openbmc/control";
OpenPOWER on IntegriCloud