[PATCH] drm/drm_panel: fix EXPORT of drm_panel_of_backlight

Linus Walleij linus.walleij at linaro.org
Tue Dec 10 21:29:59 UTC 2019


On Tue, Dec 10, 2019 at 8:48 PM Sam Ravnborg <sam at ravnborg.org> wrote:

> Fix link failure for module builds of panels.
> The conditional compilation around drm_panel_of_backlight()
> was wrong for a module build.
> Fix it using IS_ENABLED().
>
> Fixes: 152dbdeab1b2 ("drm/panel: add backlight support")
> Cc: Sam Ravnborg <sam at ravnborg.org>
> Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Maxime Ripard <maxime.ripard at bootlin.com>
> Cc: Sean Paul <sean at poorly.run>
> Cc: David Airlie <airlied at linux.ie>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: Maxime Ripard <mripard at kernel.org>
> Cc: dri-devel at lists.freedesktop.org
> Signed-off-by: Sam Ravnborg <sam at ravnborg.org>

Looks like the right fix to me:
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij


More information about the dri-devel mailing list