From b26deabb1d915fe87d395081bbd3058b938dee89 Mon Sep 17 00:00:00 2001 From: Lars Poeschel Date: Tue, 3 Nov 2020 10:58:11 +0100 Subject: auxdisplay: hd44780_common_print We create a hd44780_common_print function. It is derived from the original charlcd_print. charlcd_print becomes a device independent print function, that then only calls via its ops function pointers, into the print function offered by drivers. Reported-by: kernel test robot Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel Signed-off-by: Miguel Ojeda --- drivers/auxdisplay/hd44780_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/auxdisplay/hd44780_common.h') diff --git a/drivers/auxdisplay/hd44780_common.h b/drivers/auxdisplay/hd44780_common.h index 73dd4c7c6de3..ac404a44889b 100644 --- a/drivers/auxdisplay/hd44780_common.h +++ b/drivers/auxdisplay/hd44780_common.h @@ -14,4 +14,5 @@ struct hd44780_common { void *hd44780; }; +int hd44780_common_print(struct charlcd *lcd, int c); struct hd44780_common *hd44780_common_alloc(void); -- cgit v1.2.3