On Tue, Dec 10, 2019 at 8:48 PM Sam Ravnborg <sam@xxxxxxxxxxxx> 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@xxxxxxxxxxxx> > Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> > Cc: Thierry Reding <thierry.reding@xxxxxxxxx> > Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> > Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxx> > Cc: Sean Paul <sean@xxxxxxxxxx> > Cc: David Airlie <airlied@xxxxxxxx> > Cc: Daniel Vetter <daniel@xxxxxxxx> > Cc: Maxime Ripard <mripard@xxxxxxxxxx> > Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx > Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Looks like the right fix to me: Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel