summaryrefslogtreecommitdiff
path: root/drivers/auxdisplay/arm-charlcd.c
diff options
context:
space:
mode:
authorMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2018-03-13 02:59:40 +0300
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2018-04-12 20:02:41 +0300
commitb1bf6119dc5f83bcdfd917bfcf7d0836f896c50b (patch)
treecf11eea1d2a79473d0c03824cfa6f787c753dc53 /drivers/auxdisplay/arm-charlcd.c
parent6fd8e4f4907b1f6b61e6b2e89f2f54ef9b8aa3c1 (diff)
downloadlinux-b1bf6119dc5f83bcdfd917bfcf7d0836f896c50b.tar.xz
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 Cc: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Diffstat (limited to 'drivers/auxdisplay/arm-charlcd.c')
-rw-r--r--drivers/auxdisplay/arm-charlcd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/auxdisplay/arm-charlcd.c b/drivers/auxdisplay/arm-charlcd.c
index b3176ee92b90..dde180995582 100644
--- a/drivers/auxdisplay/arm-charlcd.c
+++ b/drivers/auxdisplay/arm-charlcd.c
@@ -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;