diff options
author | Lars Poeschel <poeschel@lemonage.de> | 2020-11-03 10:58:15 +0100 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2020-11-04 11:04:03 +0100 |
commit | 2bf82b5a80d9c4ca3e64d273771d5629d46eb1d0 (patch) | |
tree | 0af891e169bd12af2c09131e5c6d26b77ac883ab /drivers/auxdisplay/charlcd.c | |
parent | auxdisplay: Move clear_display to hd44780_common (diff) | |
download | linux-2bf82b5a80d9c4ca3e64d273771d5629d46eb1d0.tar.xz linux-2bf82b5a80d9c4ca3e64d273771d5629d46eb1d0.zip |
auxdisplay: make charlcd_backlight visible to hd44780_common
hd44780_common wants to use the charlcd_backlight function, so make it
visible.
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.c')
-rw-r--r-- | drivers/auxdisplay/charlcd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/auxdisplay/charlcd.c b/drivers/auxdisplay/charlcd.c index fc0daf4987d5..154419513186 100644 --- a/drivers/auxdisplay/charlcd.c +++ b/drivers/auxdisplay/charlcd.c @@ -91,7 +91,7 @@ static void long_sleep(int ms) } /* turn the backlight on or off */ -static void charlcd_backlight(struct charlcd *lcd, enum charlcd_onoff on) +void charlcd_backlight(struct charlcd *lcd, enum charlcd_onoff on) { struct charlcd_priv *priv = charlcd_to_priv(lcd); @@ -103,6 +103,7 @@ static void charlcd_backlight(struct charlcd *lcd, enum charlcd_onoff on) lcd->ops->backlight(lcd, on); mutex_unlock(&priv->bl_tempo_lock); } +EXPORT_SYMBOL_GPL(charlcd_backlight); static void charlcd_bl_off(struct work_struct *work) { |