diff --git a/drivers/gpu/drm/panel/panel-simple.h b/drivers/gpu/drm/panel/panel-simple.h index 1958926d9738..a056f357886a 100644 --- a/drivers/gpu/drm/panel/panel-simple.h +++ b/drivers/gpu/drm/panel/panel-simple.h @@ -8,7 +8,7 @@ #define PANEL_SIMPLE_H #include -#if IS_ENABLED(CONFIG_DRM_PANEL_SIMPLE) +#if IS_REACHABLE(CONFIG_DRM_PANEL_SIMPLE) int panel_simple_loader_protect(struct drm_panel *panel); #else static inline int panel_simple_loader_protect(struct drm_panel *panel)