Commit 1bbf5a21 authored by Andy Shevchenko's avatar Andy Shevchenko

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 1613e604
...@@ -36,6 +36,8 @@ enum charlcd_lines { ...@@ -36,6 +36,8 @@ enum charlcd_lines {
CHARLCD_LINES_2, CHARLCD_LINES_2,
}; };
struct charlcd_ops;
struct charlcd { struct charlcd {
const struct charlcd_ops *ops; const struct charlcd_ops *ops;
const unsigned char *char_conv; /* Optional */ const unsigned char *char_conv; /* Optional */
......
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