membuff: Rename the files to membuf
Rename the C and header files to use the membuf basename, to match the
functions.
Add a MAINTAINERS entry while we are here.
Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/MAINTAINERS b/MAINTAINERS
index 92d4a15..fac9ce8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1281,6 +1281,13 @@
F: drivers/video/mali_dp.c
F: drivers/i2c/i2c-versatile.c
+MEMBUF
+M: Simon Glass <sjg@chromium.org>
+S: Maintained
+T: git https://source.denx.de/u-boot/u-boot.git
+F: include/membuf.h
+F: lib/membuf.c
+
MICROBLAZE
M: Michal Simek <monstr@monstr.eu>
S: Maintained
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 789adf2..18d9459 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -23,7 +23,7 @@
#include <board_f.h>
#include <event_internal.h>
#include <fdtdec.h>
-#include <membuff.h>
+#include <membuf.h>
#include <linux/list.h>
#include <linux/build_bug.h>
#include <asm-offsets.h>
diff --git a/include/membuff.h b/include/membuf.h
similarity index 100%
rename from include/membuff.h
rename to include/membuf.h
diff --git a/lib/Makefile b/lib/Makefile
index a30ce15..41de267 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -125,7 +125,7 @@
obj-y += linux_compat.o
obj-y += linux_string.o
obj-$(CONFIG_$(PHASE_)LMB) += lmb.o
-obj-y += membuff.o
+obj-y += membuf.o
obj-$(CONFIG_REGEX) += slre.o
obj-y += string.o
obj-y += tables_csum.o
diff --git a/lib/membuff.c b/lib/membuf.c
similarity index 99%
rename from lib/membuff.c
rename to lib/membuf.c
index 435d12b..5473efa 100644
--- a/lib/membuff.c
+++ b/lib/membuf.c
@@ -9,7 +9,7 @@
#include <errno.h>
#include <log.h>
#include <malloc.h>
-#include "membuff.h"
+#include "membuf.h"
void membuf_purge(struct membuff *mb)
{