[PATCH 4/4] video: backlight: add fallbacks for client functions
Sascha Hauer
s.hauer at pengutronix.de
Wed Aug 19 07:13:15 PDT 2015
On Wed, Aug 12, 2015 at 10:46:45AM +0200, Lucas Stach wrote:
> Add empty static inline function fallbacks if backlight support
> is not enabled, so that drivers using the backlight don't fail to
> build.
>
> Fixes:
> In function `simple_panel_ioctl':
> undefined reference to `of_backlight_find'
> undefined reference to `backlight_set_brightness_default'
> undefined reference to `backlight_set_brightness'
>
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> ---
> include/video/backlight.h | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list