diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-06 03:14:44 -0400 |
---|---|---|
committer | Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | 2019-08-08 13:59:17 -0400 |
commit | 75354284cc3aa58f7e54d479d9bee69bd2ca828f (patch) | |
tree | 7270d97cfdff675585fe1c1292cba2a3b269826d | |
parent | ba2c1340d7c8e1ba5957d814ec18592b315fd4de (diff) |
auxdisplay: charlcd: move charlcd.h to drivers/auxdisplay
This header is included in drivers/auxdisplay/. Make it a local header.
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
-rw-r--r-- | drivers/auxdisplay/charlcd.c | 2 | ||||
-rw-r--r-- | drivers/auxdisplay/charlcd.h (renamed from include/misc/charlcd.h) | 0 | ||||
-rw-r--r-- | drivers/auxdisplay/hd44780.c | 3 | ||||
-rw-r--r-- | drivers/auxdisplay/panel.c | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/drivers/auxdisplay/charlcd.c b/drivers/auxdisplay/charlcd.c index 92745efefb54..bef6b85778b6 100644 --- a/drivers/auxdisplay/charlcd.c +++ b/drivers/auxdisplay/charlcd.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #include <generated/utsrelease.h> | 21 | #include <generated/utsrelease.h> |
22 | 22 | ||
23 | #include <misc/charlcd.h> | 23 | #include "charlcd.h" |
24 | 24 | ||
25 | #define LCD_MINOR 156 | 25 | #define LCD_MINOR 156 |
26 | 26 | ||
diff --git a/include/misc/charlcd.h b/drivers/auxdisplay/charlcd.h index 8cf6c18b0adb..8cf6c18b0adb 100644 --- a/include/misc/charlcd.h +++ b/drivers/auxdisplay/charlcd.h | |||
diff --git a/drivers/auxdisplay/hd44780.c b/drivers/auxdisplay/hd44780.c index ab15b64707ad..bcbe13092327 100644 --- a/drivers/auxdisplay/hd44780.c +++ b/drivers/auxdisplay/hd44780.c | |||
@@ -14,8 +14,7 @@ | |||
14 | #include <linux/property.h> | 14 | #include <linux/property.h> |
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | 16 | ||
17 | #include <misc/charlcd.h> | 17 | #include "charlcd.h" |
18 | |||
19 | 18 | ||
20 | enum hd44780_pin { | 19 | enum hd44780_pin { |
21 | /* Order does matter due to writing to GPIO array subsets! */ | 20 | /* Order does matter due to writing to GPIO array subsets! */ |
diff --git a/drivers/auxdisplay/panel.c b/drivers/auxdisplay/panel.c index e6bd727da503..85965953683e 100644 --- a/drivers/auxdisplay/panel.c +++ b/drivers/auxdisplay/panel.c | |||
@@ -55,7 +55,7 @@ | |||
55 | #include <linux/io.h> | 55 | #include <linux/io.h> |
56 | #include <linux/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | 57 | ||
58 | #include <misc/charlcd.h> | 58 | #include "charlcd.h" |
59 | 59 | ||
60 | #define KEYPAD_MINOR 185 | 60 | #define KEYPAD_MINOR 185 |
61 | 61 | ||