mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +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,
|
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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user