mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
auxdisplay: charlcd: Provide a forward declaration
While there is no compilation error, strictly speaking the compiler should know about used types beforehand. Provide a forward declaration for struct charlcd_ops before using it in struct charlcd. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
1613e604df
commit
1bbf5a2156
@ -36,6 +36,8 @@ enum charlcd_lines {
|
||||
CHARLCD_LINES_2,
|
||||
};
|
||||
|
||||
struct charlcd_ops;
|
||||
|
||||
struct charlcd {
|
||||
const struct charlcd_ops *ops;
|
||||
const unsigned char *char_conv; /* Optional */
|
||||
|
Loading…
Reference in New Issue
Block a user