From patchwork Sun Jun 30 05:21:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 11024159 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EBAD3138D for ; Sun, 30 Jun 2019 05:21:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DDAAA2832D for ; Sun, 30 Jun 2019 05:21:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1A20287BE; Sun, 30 Jun 2019 05:21:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 610BD2832D for ; Sun, 30 Jun 2019 05:21:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 302CE6E9BF; Sun, 30 Jun 2019 05:21:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9BC5F6E9BF for ; Sun, 30 Jun 2019 05:21:30 +0000 (UTC) Received: by mail-lf1-x142.google.com with SMTP id j29so6518213lfk.10 for ; Sat, 29 Jun 2019 22:21:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=UlgX7+30V9nDLK7tt8DxD2la983PD+8bCuPllcAPD5Q=; b=PtIIIBDV8PCsZkPdfYcFBlDG1J/U6J/FFtGvfveVRQ/8L8O3umvuY8ltOo44nZie5R bVg6FSiaPVZ6nPyjcHFhs6NSs0LytnAnvBLaY4RE95pgBSXvzuVIpj1RdxNBcavocFxS 7KqwowY5PJiqZd5/a59XiwZBLa8Pcvy3YR1mN2dmSF97prs3hVujkOUoq2Aqd5l9C9C8 ro/Tr1ZFYlC6KX6gC0szWQq7E8x9/+NxyW/C/2rmKDwLs7CJJodBoVLCL5hJti2OWK+f LAefYFmi2TMXV3vXGtK3OWiRqyXJEOowOg9TPGGZhiwRo/UbFAyWdtnWbApbJvh7kRmo FuvA== X-Gm-Message-State: APjAAAVumz2AOEmUWqTS3a0FJBn9Iyd0PtwfGqz80u9D9skuaL22Pvvd Zv519uWSd/I/TxXYOxIRQSLh5S2VI8Y= X-Google-Smtp-Source: APXvYqyfYXtdLaKYykR2tlk8x4xWgHmDi1eYQRiy1bSIwsH7Takm57sBV2N76+nJW50z260KCgwoMg== X-Received: by 2002:ac2:50cd:: with SMTP id h13mr9142810lfm.36.1561872088824; Sat, 29 Jun 2019 22:21:28 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id j14sm2333416ljc.67.2019.06.29.22.21.27 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 29 Jun 2019 22:21:28 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Subject: [PATCH v1] drm/shmobile: drop use of drmP.h Date: Sun, 30 Jun 2019 07:21:26 +0200 Message-Id: <20190630052126.6050-1-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UlgX7+30V9nDLK7tt8DxD2la983PD+8bCuPllcAPD5Q=; b=BznaIRUNMgu8SGnNc9enkg97zvKuPbeZDpE94vbWrJWhYxNqn/Rr45CnFWvDu/pgpV hLaxyL1QYAJ3F7sy34QYGsu6vkptWKUc1C6GaoNwH3yKx1nTJ6whElTYSvGedAjXzJ3p q6lNRFmD3EhSNmXK9/5xikQdAs4idlGlGoPjZEROaUe0KH7ft+gtijL0L81LjPsjnx63 ATwudORDE5Vf715kB4em2AWp90VFhWzAp+ZsbPvqd4IPrdAkj7LaSZZGdV8pIsVAQjTQ BYv49hpHSE/xDUbky8ZG9BehAHntCnFWbSAI8r+l1BLa+TAKneGxeKrk6rQVXRUKIMjk OI3Q== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-renesas-soc@vger.kernel.org, Kieran Bingham , Laurent Pinchart , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Drop use of the deprecated drmP.h header file. Fix fallout. Signed-off-by: Sam Ravnborg Cc: Laurent Pinchart Cc: Kieran Bingham Cc: David Airlie Cc: Daniel Vetter Cc: linux-renesas-soc@vger.kernel.org Reviewed-by: Laurent Pinchart Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart --- The patch is build tested using several configs and several architectures (including arm, arm64, x86). The patch is based on drm-misc. If patch is OK, please apply to your tree as this driver is maintained outside drm-misc. I am happy to rebase on another tree, just let me know. Sam drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 3 ++- drivers/gpu/drm/shmobile/shmob_drm_crtc.h | 1 - drivers/gpu/drm/shmobile/shmob_drm_drv.c | 4 +++- drivers/gpu/drm/shmobile/shmob_drm_kms.c | 1 - drivers/gpu/drm/shmobile/shmob_drm_plane.c | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c index b6988a6d698e..75a752d59ef1 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c @@ -10,13 +10,14 @@ #include #include -#include #include #include #include +#include #include #include #include +#include #include "shmob_drm_backlight.h" #include "shmob_drm_crtc.h" diff --git a/drivers/gpu/drm/shmobile/shmob_drm_crtc.h b/drivers/gpu/drm/shmobile/shmob_drm_crtc.h index 9ca6920641d8..bd35fe8f9028 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_crtc.h +++ b/drivers/gpu/drm/shmobile/shmob_drm_crtc.h @@ -10,7 +10,6 @@ #ifndef __SHMOB_DRM_CRTC_H__ #define __SHMOB_DRM_CRTC_H__ -#include #include #include diff --git a/drivers/gpu/drm/shmobile/shmob_drm_drv.c b/drivers/gpu/drm/shmobile/shmob_drm_drv.c index 6c106b7a3bfe..b8c0930959c7 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_drv.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_drv.c @@ -15,10 +15,12 @@ #include #include -#include #include +#include #include +#include #include +#include #include "shmob_drm_drv.h" #include "shmob_drm_kms.h" diff --git a/drivers/gpu/drm/shmobile/shmob_drm_kms.c b/drivers/gpu/drm/shmobile/shmob_drm_kms.c index 2e08bc203bf9..c51197b6fd85 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_kms.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_kms.c @@ -7,7 +7,6 @@ * Laurent Pinchart (laurent.pinchart@ideasonboard.com) */ -#include #include #include #include diff --git a/drivers/gpu/drm/shmobile/shmob_drm_plane.c b/drivers/gpu/drm/shmobile/shmob_drm_plane.c index 1d1ee5e51351..cbc464f006b4 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_plane.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_plane.c @@ -7,10 +7,10 @@ * Laurent Pinchart (laurent.pinchart@ideasonboard.com) */ -#include #include #include #include +#include #include #include "shmob_drm_drv.h"