summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/Makefile1
-rw-r--r--drivers/base/Makefile1
-rw-r--r--drivers/base/resource.c (renamed from common/mem.c)0
3 files changed, 1 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile
index 27aebae24d..9fed2ae521 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -9,7 +9,6 @@ obj-$(CONFIG_POLLER) += poller.o
obj-$(CONFIG_BLOCK) += block.o
obj-y += memory.o
-obj-y += mem.o
obj-$(CONFIG_MALLOC_DLMALLOC) += dlmalloc.o
obj-$(CONFIG_MALLOC_DUMMY) += dummy_malloc.o
obj-y += clock.o
diff --git a/drivers/base/Makefile b/drivers/base/Makefile
index 2d94723f90..957ca5ac2a 100644
--- a/drivers/base/Makefile
+++ b/drivers/base/Makefile
@@ -1,2 +1,3 @@
obj-y += driver.o
obj-y += platform.o
+obj-y += resource.o
diff --git a/common/mem.c b/drivers/base/resource.c
index 7b0020bb69..7b0020bb69 100644
--- a/common/mem.c
+++ b/drivers/base/resource.c