auxdisplay: Move hwidth and bwidth to struct hd44780_common
[linux-block.git] / drivers / auxdisplay / hd44780_common.h
CommitLineData
718e05ed
LP
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2
2545c1c9
LP
3#define DEFAULT_LCD_BWIDTH 40
4#define DEFAULT_LCD_HWIDTH 64
5
718e05ed 6struct hd44780_common {
2545c1c9
LP
7 int bwidth; /* Default set by hd44780_alloc() */
8 int hwidth; /* Default set by hd44780_alloc() */
718e05ed
LP
9 void *hd44780;
10};
11
12struct hd44780_common *hd44780_common_alloc(void);