[PATCH] drm/i915/panel: make panel funcs static
Gustavo Sousa
gustavo.sousa at intel.com
Thu Jun 12 13:25:49 UTC 2025
Quoting Jani Nikula (2025-06-12 09:46:17-03:00)
>The drm panel funcs should be static, fix it.
>
>Fixes: 3fdd5bfbd638 ("drm/i915/panel: register drm_panel and call prepare/unprepare for ICL+ DSI")
>Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa at intel.com>
>---
> drivers/gpu/drm/i915/display/intel_panel.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/i915/display/intel_panel.c b/drivers/gpu/drm/i915/display/intel_panel.c
>index f956919dc648..e28ad72c4f2b 100644
>--- a/drivers/gpu/drm/i915/display/intel_panel.c
>+++ b/drivers/gpu/drm/i915/display/intel_panel.c
>@@ -502,7 +502,7 @@ static void intel_panel_sync_state(struct intel_connector *connector)
> drm_modeset_unlock(&display->drm->mode_config.connection_mutex);
> }
>
>-const struct drm_panel_funcs dummy_panel_funcs = {
>+static const struct drm_panel_funcs dummy_panel_funcs = {
> };
>
> int intel_panel_register(struct intel_connector *connector)
>--
>2.39.5
>
More information about the Intel-gfx
mailing list