[PATCH] drm/drm_panel: fix EXPORT of drm_panel_of_backlight

Sam Ravnborg sam at ravnborg.org
Wed Dec 11 00:23:00 UTC 2019


Hi Linus.

On Tue, Dec 10, 2019 at 10:29:59PM +0100, Linus Walleij wrote:
> 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>

Thanks, patch pushed to drm-misc-next so we have this fixed.

	Sam


More information about the dri-devel mailing list