From: Sam Ravnborg Date: Sat, 21 Jan 2023 21:09:04 +0100 Subject: [PATCH 86/86] drm: Move drm_get_panel_orientation_quirk prototype to drm_panel MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230113-drm-include-v1-v1-86-c5cf72d8a5a2@ravnborg.org> References: <20230113-drm-include-v1-v1-0-c5cf72d8a5a2@ravnborg.org> In-Reply-To: <20230113-drm-include-v1-v1-0-c5cf72d8a5a2@ravnborg.org> To: dri-devel@lists.freedesktop.org Cc: Daniel Vetter , Sam Ravnborg X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1674331667; l=3297; i=sam@ravnborg.org; s=20230107; h=from:subject:message-id; bh=ZsBaKl2SrwvcyrN3qfNa9m8+QTAVcEdj8gRaVh06Jtc=; b=OrxWFm2Gz2ZkdkYFuiY7dbEe7/RE+lXrwGbtf/i5gvPa4KtY4sAkozvqvoT4fuRfyFVumgYyKA9j sD2YuIp6C8Jbo32bsJ2I8bux5UvhjLEgyhFqTEMIJ3v8GMEtAjyg X-Developer-Key: i=sam@ravnborg.org; a=ed25519; pk=R0+pqV7BRYOAeOIGkyOrSNke7arx5y3LkEuNi37YEyU= X-Endpoint-Received: by B4 Submission Endpoint for sam@ravnborg.org/20230107 with auth_id=22 List-Id: B4 Web Endpoint Patches drm_panel already contain some panel orientation stuff, So this is a good home for the prototype. Update all users of drm_get_panel_orientation_quirk. Remove drm_utils.h header as it is no longer used. Suggested-by: Daniel Vetter [https://lore.kernel.org/dri-devel/20190527185311.GS21222@phenom.ffwll.local/] Cc: Daniel Vetter Signed-off-by: Sam Ravnborg --- drivers/gpu/drm/drm_connector.c | 1 - drivers/gpu/drm/drm_panel_orientation_quirks.c | 2 +- drivers/video/fbdev/efifb.c | 2 +- include/drm/drm_panel.h | 1 + include/drm/drm_utils.h | 17 ----------------- 5 files changed, 3 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index 9d0250c28e9b..b39f4e807685 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index ca531dbb749d..589adb3e26c6 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #ifdef CONFIG_DMI diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c index a5779fb453a2..37487b945007 100644 --- a/drivers/video/fbdev/efifb.c +++ b/drivers/video/fbdev/efifb.c @@ -20,8 +20,8 @@ #include #include