aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay/hd44780_common.h
blob: 9647d24c44905df0c82e06ab92f45672b2f360ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* 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;
};

struct hd44780_common *hd44780_common_alloc(void);