[PATCH v2 2/3] auxdisplay: Move cfag12864b.h to the subsystem folder

Andy Shevchenko
2024-02-12T13:27:09Z

There is no users outside of auxdisplay subsystem for the cfag12864b.h.
Move include/linux/cfag12864b.h to drivers/auxdisplay.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
MAINTAINERS | 3 ---
drivers/auxdisplay/cfag12864b.c | 2 +-
{include/linux => drivers/auxdisplay}/cfag12864b.h | 0
drivers/auxdisplay/cfag12864bfb.c | 3 ++-
4 files changed, 3 insertions(+), 5 deletions(-)
rename {include/linux => drivers/auxdisplay}/cfag12864b.h (100%)

diff --git a/MAINTAINERS b/MAINTAINERS
index e2a804e22c3b..e981d7274756 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3412,7 +3412,6 @@ S: Odd Fixes
T: git git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-auxdisplay.git
F: Documentation/devicetree/bindings/auxdisplay/
F: drivers/auxdisplay/
-F: include/linux/cfag12864b.h

AVIA HX711 ANALOG DIGITAL CONVERTER IIO DRIVER
M: Andreas Klinger <ak@it-klinger.de>
@@ -4900,13 +4899,11 @@ CFAG12864B LCD DRIVER
M: Miguel Ojeda <ojeda@kernel.org>
S: Maintained
F: drivers/auxdisplay/cfag12864b.c
-F: include/linux/cfag12864b.h

CFAG12864BFB LCD FRAMEBUFFER DRIVER
M: Miguel Ojeda <ojeda@kernel.org>
S: Maintained
F: drivers/auxdisplay/cfag12864bfb.c
-F: include/linux/cfag12864b.h

CHAR and MISC DRIVERS
M: Arnd Bergmann <arnd@arndb.de>
diff --git a/drivers/auxdisplay/cfag12864b.c b/drivers/auxdisplay/cfag12864b.c
index 6526aa51fb1d..6a8368a37121 100644
--- a/drivers/auxdisplay/cfag12864b.c
+++ b/drivers/auxdisplay/cfag12864b.c
@@ -23,8 +23,8 @@
#include <linux/vmalloc.h>
#include <linux/workqueue.h>
#include <linux/ks0108.h>
-#include <linux/cfag12864b.h>

+#include "cfag12864b.h"

#define CFAG12864B_NAME "cfag12864b"

diff --git a/include/linux/cfag12864b.h b/drivers/auxdisplay/cfag12864b.h
similarity index 100%
rename from include/linux/cfag12864b.h
rename to drivers/auxdisplay/cfag12864b.h
diff --git a/drivers/auxdisplay/cfag12864bfb.c b/drivers/auxdisplay/cfag12864bfb.c
index 5ba19c339f08..19ba3977ad7d 100644
--- a/drivers/auxdisplay/cfag12864bfb.c
+++ b/drivers/auxdisplay/cfag12864bfb.c
@@ -16,7 +16,8 @@
#include <linux/fb.h>
#include <linux/mm.h>
#include <linux/platform_device.h>
-#include <linux/cfag12864b.h>
+
+#include "cfag12864b.h"

#define CFAG12864BFB_NAME "cfag12864bfb"

--
2.43.0.rc1.1.gbec44491f096