From patchwork Sat Aug 17 07:41:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sidong Yang X-Patchwork-Id: 11099153 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 0508D912 for ; Sat, 17 Aug 2019 15:26:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9A5327F94 for ; Sat, 17 Aug 2019 15:26:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDFF2287A6; Sat, 17 Aug 2019 15:26:56 +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,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,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 6E2B127F94 for ; Sat, 17 Aug 2019 15:26:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 00CF66EB08; Sat, 17 Aug 2019 15:24:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id E178F6E47D for ; Sat, 17 Aug 2019 07:41:26 +0000 (UTC) Received: by mail-pf1-x444.google.com with SMTP id 129so4298649pfa.4 for ; Sat, 17 Aug 2019 00:41:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2Rwq01trDayAP0H8fPQiQ3OK+pDaf4XqEAWP3N7Fklg=; b=lM5Z8lHOQsREn2gBDENln8sIBjQZo0Q+VY4JIEbwVTmpzg+SEeQDMO5C04x4UbjODp +k2shoM2nCsApsvC2OH3G9zXv+DKlU+x0xHBBNLcOIjmzOtslLuayS/MPJQa+C5Cv6dj 7KZHJ3mDxqajqIXnvTevjq5Yu+eLniX615v7MzwCYPtysI55jN+oFajAC8s4c73HM9T+ Gd5yFOTz/vbMntJqoTlCr/821joZIgIF5feTriXRUIYy8wb9zMwZpg+zB23rjTfaEgtK NimNhTQyPYJqgzfAxtQdg3xyjfr+jPH5OV7qu8u7t5jPfaOaY/hCNYgkr6i9oKL49bWV CVxQ== X-Gm-Message-State: APjAAAWbdvatWQgbRXpv0DvaLsOyEiBrOXEzCO2UX5zVpfCD6kYNgT4n JiEC+iDwLKnsSNYbUQriUueeggya X-Google-Smtp-Source: APXvYqyLmWb3dQ7qXtS549lXT8H1MYxaTwCa5Dld/jmB2LxOOgdTHnndm9HVYHD4rwkqLpCVKQRotA== X-Received: by 2002:a17:90a:b946:: with SMTP id f6mr10986185pjw.86.1566027686217; Sat, 17 Aug 2019 00:41:26 -0700 (PDT) Received: from localhost.localdomain ([61.83.141.141]) by smtp.gmail.com with ESMTPSA id 5sm7285317pgh.93.2019.08.17.00.41.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Aug 2019 00:41:25 -0700 (PDT) From: Sidong Yang To: Liviu Dudau , Brian Starkey , David Airlie , Daniel Vetter Subject: [PATCH] drm/arm: drop use of drmP.h Date: Sat, 17 Aug 2019 08:41:15 +0100 Message-Id: <20190817074115.19116-1-realwakka@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 17 Aug 2019 15:24:21 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2Rwq01trDayAP0H8fPQiQ3OK+pDaf4XqEAWP3N7Fklg=; b=F5/SKrj19TvAFxsRdmKEA3E1BeZi1BZY3gYsu2P/j3rhQrzutx2eFjVCNP2UcPIhA+ FSQXkiNrcM+pugWNRaQeKEmMzquzIb3SSU3E5Tajw+Pmc+pM/rQAJdVqnIMZ/QW0vxrK PVJOObQjz0+XWKS1fqZFURZ1eNv+OLkuBEMVt3f6pFrhjDDHJ0j/zxg4x7ldFkaEZdG+ dEmeepUCNWBN789PWS9FjS51yz2tegXK5Nt7OGfS0UdDe5QC3xL1E9kv20gUx/I1QGNH mVsEfnydgzmj437xSoPVNj1zKcRxcFoP5pYCpakLtjlQPHC7Yj0fmRfiuFB0dDYvQ/3Z vvBw== 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: Sidong Yang , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Drop use of deprecated drmP.h header file. Remove drmP.h includes and add some include headers for function or struct that used in code. --- drivers/gpu/drm/arm/hdlcd_crtc.c | 2 +- drivers/gpu/drm/arm/hdlcd_drv.c | 6 +++++- drivers/gpu/drm/arm/malidp_crtc.c | 4 +++- drivers/gpu/drm/arm/malidp_drv.c | 4 +++- drivers/gpu/drm/arm/malidp_drv.h | 1 - drivers/gpu/drm/arm/malidp_hw.c | 7 ++++++- drivers/gpu/drm/arm/malidp_mw.c | 2 +- drivers/gpu/drm/arm/malidp_planes.c | 4 +++- 8 files changed, 22 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/arm/hdlcd_crtc.c b/drivers/gpu/drm/arm/hdlcd_crtc.c index a3efa28436ea..8285ff3e9991 100644 --- a/drivers/gpu/drm/arm/hdlcd_crtc.c +++ b/drivers/gpu/drm/arm/hdlcd_crtc.c @@ -9,7 +9,6 @@ * Implementation of a CRTC class for the HDLCD driver. */ -#include #include #include #include @@ -19,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/arm/hdlcd_drv.c b/drivers/gpu/drm/arm/hdlcd_drv.c index 27c46a2838c5..c2a59712cf46 100644 --- a/drivers/gpu/drm/arm/hdlcd_drv.c +++ b/drivers/gpu/drm/arm/hdlcd_drv.c @@ -9,6 +9,7 @@ * ARM HDLCD Driver */ +#include #include #include #include @@ -17,18 +18,21 @@ #include #include #include +#include #include -#include #include #include +#include #include #include #include #include +#include #include #include #include +#include #include "hdlcd_drv.h" #include "hdlcd_regs.h" diff --git a/drivers/gpu/drm/arm/malidp_crtc.c b/drivers/gpu/drm/arm/malidp_crtc.c index db4451260fff..3735554f61bf 100644 --- a/drivers/gpu/drm/arm/malidp_crtc.c +++ b/drivers/gpu/drm/arm/malidp_crtc.c @@ -6,11 +6,13 @@ * ARM Mali DP500/DP550/DP650 driver (crtc operations) */ -#include #include #include #include +#include #include +#include + #include #include #include