Commit 32d917e7 authored by Lars Poeschel's avatar Lars Poeschel Committed by Miguel Ojeda

auxdisplay: panel: Fix missing print function pointer

charlcd drivers need to provide some print function to charlcd. For
hd44780 based panel driver this function was missing. We provide the
generic hd44780_common_print function which should be suitable.

Fixes: b26deabb ("auxdisplay: hd44780_common_print")
Reported-by: default avatarkernel test robot <oliver.sang@intel.com>
Signed-off-by: default avatarLars Poeschel <poeschel@lemonage.de>
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent decbaf18
......@@ -810,6 +810,7 @@ static void lcd_write_data_tilcd(struct hd44780_common *hdc, int data)
static const struct charlcd_ops charlcd_serial_ops = {
.backlight = lcd_backlight,
.print = hd44780_common_print,
.gotoxy = hd44780_common_gotoxy,
.home = hd44780_common_home,
.clear_display = hd44780_common_clear_display,
......@@ -826,6 +827,7 @@ static const struct charlcd_ops charlcd_serial_ops = {
static const struct charlcd_ops charlcd_parallel_ops = {
.backlight = lcd_backlight,
.print = hd44780_common_print,
.gotoxy = hd44780_common_gotoxy,
.home = hd44780_common_home,
.clear_display = hd44780_common_clear_display,
......@@ -842,6 +844,7 @@ static const struct charlcd_ops charlcd_parallel_ops = {
static const struct charlcd_ops charlcd_tilcd_ops = {
.backlight = lcd_backlight,
.print = hd44780_common_print,
.gotoxy = hd44780_common_gotoxy,
.home = hd44780_common_home,
.clear_display = hd44780_common_clear_display,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment