diff options
author | Lars Poeschel <poeschel@lemonage.de> | 2020-11-03 10:58:10 +0100 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2020-11-04 11:04:03 +0100 |
commit | 11588b59cf620305e78523f57918b986b5e32214 (patch) | |
tree | abf65dd82a7fd1a8ab3b0c45cff4e99edad09657 /drivers/auxdisplay/charlcd.h | |
parent | 2c6a82f2342fadfcbd5dd92656e662c326f7a40a (diff) | |
download | linux-stable-11588b59cf620305e78523f57918b986b5e32214.tar.gz linux-stable-11588b59cf620305e78523f57918b986b5e32214.tar.bz2 linux-stable-11588b59cf620305e78523f57918b986b5e32214.zip |
auxdisplay: Move addr out of charlcd_priv
Move out the struct addr from struct charlcd_priv into the less private
struct charlcd. This member is used to pass position information. The
individual drivers need to be able to read this information, so we move
this out of charlcd_priv to charlcd structure.
Reviewed-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'drivers/auxdisplay/charlcd.h')
-rw-r--r-- | drivers/auxdisplay/charlcd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/auxdisplay/charlcd.h b/drivers/auxdisplay/charlcd.h index ad6fd2733523..ff4896af2189 100644 --- a/drivers/auxdisplay/charlcd.h +++ b/drivers/auxdisplay/charlcd.h @@ -21,6 +21,12 @@ struct charlcd { int height; int width; + /* Contains the LCD X and Y offset */ + struct { + unsigned long x; + unsigned long y; + } addr; + void *drvdata; }; |