diff options
author | Lars Poeschel <poeschel@lemonage.de> | 2020-11-03 10:58:07 +0100 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2020-11-04 11:04:02 +0100 |
commit | 3fc04dd7eb77b54228a17753ec01128417433e46 (patch) | |
tree | bb13aec4f2c3fcc2b72a55ca97738cf2f4aa39a9 /drivers/auxdisplay/hd44780_common.h | |
parent | 2545c1c948a6a765f1a0e820c7598138b36f67ef (diff) |
auxdisplay: Move ifwidth to struct hd44780_common
Move struct charlcd member ifwidth to our new struct hd44780_common.
ifwidth is hd44780 device specific and is used by two drivers at the
moment, so we move it to a common place, where both can use this.
Reviewed-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'drivers/auxdisplay/hd44780_common.h')
-rw-r--r-- | drivers/auxdisplay/hd44780_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/auxdisplay/hd44780_common.h b/drivers/auxdisplay/hd44780_common.h index 9647d24c4490..54cbe5a489d7 100644 --- a/drivers/auxdisplay/hd44780_common.h +++ b/drivers/auxdisplay/hd44780_common.h @@ -4,6 +4,7 @@ #define DEFAULT_LCD_HWIDTH 64 struct hd44780_common { + int ifwidth; /* 4-bit or 8-bit (default) */ int bwidth; /* Default set by hd44780_alloc() */ int hwidth; /* Default set by hd44780_alloc() */ void *hd44780; |