summaryrefslogtreecommitdiff
path: root/drivers/auxdisplay/hd44780_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/auxdisplay/hd44780_common.h')
-rw-r--r--drivers/auxdisplay/hd44780_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/auxdisplay/hd44780_common.h b/drivers/auxdisplay/hd44780_common.h
index 974868f7529c..9647d24c4490 100644
--- a/drivers/auxdisplay/hd44780_common.h
+++ b/drivers/auxdisplay/hd44780_common.h
@@ -1,6 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
+#define DEFAULT_LCD_BWIDTH 40
+#define DEFAULT_LCD_HWIDTH 64
+
struct hd44780_common {
+ int bwidth; /* Default set by hd44780_alloc() */
+ int hwidth; /* Default set by hd44780_alloc() */
void *hd44780;
};