auxdisplay: arm-charlcd: Fix struct charlcd doc line
PATCH v2 1/1 auxdisplay: arm-charlcd: Fix struct charlcd doc line
There was a missing first line and a missing member, which gave a warning under W=1:
CC drivers/auxdisplay/arm-charlcd.o
drivers/auxdisplay/arm-charlcd.c:57: warning: Cannot understand
* @dev: a pointer back to containing device on line 57 - I thought
it was a doc line
--- drivers/auxdisplay/arm-charlcd.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/auxdisplay/arm-charlcd.c +2 -0
@@ -54,12 +54,14 @@#define HD_BUSY_FLAG 0x80U/** +* struct charlcd - Private data structure * @dev: a pointer back to containing device * @phybase: the offset to the controller in physical memory * @physize: the size of the physical page * @virtbase: the offset to the controller in virtual memory * @irq: reserved interrupt number * @complete: completion structure for the last LCD command +* @init_work: delayed work structure to initialize the display on boot */ struct charlcd {struct device *dev;
Signature · 1 line
2.14.1
Quoted 11 lines · Miguel Ojeda
There was a missing first line and a missing member, which gave a warning under W=1:
CC
drivers/auxdisplay/arm-charlcd.o
drivers/auxdisplay/arm-charlcd.c:57: warning: Cannot understand
* @dev: a pointer back to containing device on line 57 - I thought
it was a doc lineCc Linus Walleij <[email protected]>Cc Randy Dunlap <[email protected]>Signed-off-by Miguel Ojeda <[email protected]>
Yours,
Linus Walleij
Quoted 11 lines · Linus Walleij
Quoted 8 lines · Miguel Ojeda
There was a missing first line and a missing member, which gave a warning under W=1:
CC
drivers/auxdisplay/arm-charlcd.o
drivers/auxdisplay/arm-charlcd.c:57: warning: Cannot understand
* @dev: a pointer back to containing device on line 57 - I thought
it was a doc line
Quoted 5 lines
Quoted 3 lines
Cc Linus Walleij <[email protected]>Cc Randy Dunlap <[email protected]>Signed-off-by Miguel Ojeda <[email protected]>Reviewed-by Linus Walleij <[email protected]>
Thanks Linus.
Cheers,
Miguel