Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp297511ybl; Sat, 17 Aug 2019 00:42:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwitdWeuvZY+YobfJQt+Q76lea6vdt4sgSrJnYQJdgTpu2RfXbYnVqVQzbJlaVwlQ3UDwj4 X-Received: by 2002:a62:7641:: with SMTP id r62mr14033234pfc.201.1566027754721; Sat, 17 Aug 2019 00:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566027754; cv=none; d=google.com; s=arc-20160816; b=Bqk9auNCbLA51e19Rx5IQu0Y0Q8jHdzNmQ6azL25OWoj/OhEKP4yMcPxTNX1H3gE4w lcpoBVvJN4fUqfq/2fZyR3+i+36nNVBUy/3u6RPA85MNBLvmHAhhuYcTUvnH9ComAdJR L2sgz/OPgbCpe/jJFr7+V87sAALNxefZSvqpdRE/fIZASILPhmr05AHQU76mlDksayn8 3cMv88aoTGcxOZRrN+NZMNU6L8hMaS/+LYUivBZ643+GaUubGiIsDkDJigRTO9WLvrXO rqv1GqXt44IH+H15IadstwBrUxy2ME/LjZMx4rPIE4BNXorH9td+wmu/IiwLsc+sQg4r HAFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2Rwq01trDayAP0H8fPQiQ3OK+pDaf4XqEAWP3N7Fklg=; b=l0l9+Gu6IsyrOFEvfcqlqY+nxGyBFMdYr5ll3dFzl8n/Zl9qXgKCOWB0PzBrzQJB06 t0C5shzuE6bpRAxT4OhVXeEYMSlF+PGM8MLGkahUW/8ylIB1tN6bbMl2xnn94HV/ODXk 6I1zABTsA8tE020Rtr4i4dBGIYIb5RCUbXn1JoawQjfHzKp/+U65YG7m82F625xRCHjS WYpWYeS6d4uGDD5mCIGGUAZxPnGIByjp0O+iHScFEqHPtT4QAuIQN0udUYyK6tr3PdS0 9UOCzw+iYjbM3J1PrN40bAJAB5OIJJ/HCmoU8DV4ui/vo/QIzAZ9IQLdDgQGHJxDhdov Q1fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="F5/SKrj1"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si5605990plo.267.2019.08.17.00.42.20; Sat, 17 Aug 2019 00:42:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="F5/SKrj1"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726088AbfHQHl1 (ORCPT + 99 others); Sat, 17 Aug 2019 03:41:27 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:46793 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbfHQHl1 (ORCPT ); Sat, 17 Aug 2019 03:41:27 -0400 Received: by mail-pg1-f194.google.com with SMTP id m3so3463584pgv.13 for ; Sat, 17 Aug 2019 00:41:26 -0700 (PDT) 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-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=gM17542ZxPrZ7D0pxYFGxEHysMs0vU4VFlvwsdqLM0cBkZLgO4hw46XJ/MxOwRhvkg H+hp1eGcWc45z/J6kWmI4KrgnzWAA3c8wIri9VH4jBZou4NSu5+rsIrXtJQJQUIGWSB+ rYndmtq2aYOc7lLFXZ0Yo48x3Es/y+FgfHvUVQUfJVO8GY/VYF+klHvMGWGZPRLX3bKU dkufT3ra1ibAoExs1lOpPyYJd3JlmXS8PFLyL3nJ0um5bcmjVzRxulC3RuBh6Z7sTxe0 zUBu1Njw1sqw7bz78KjAxLwnB/LPVNGe6BGpPZu9X0BCZL35vHglhebCDcBMMsXj0vdk l3Cw== X-Gm-Message-State: APjAAAWubDP70xdIpd68CSjQtoYh9VLtUq96o78Ayq88Nkw+1pxhigsi VDkBE4FkivEILEhwQLRDdnM= 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 Cc: Sidong Yang , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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