Message ID | 20230619124201.2215558-12-15330273260@189.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2993349vqr; Mon, 19 Jun 2023 06:05:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ovrJp5m1bfHZvaLcoWYWj7V506l4h2NcqWf0+oz0yJRB7+uDuGVpwOuf77XvznkIntLD7 X-Received: by 2002:a17:90a:1388:b0:25e:a3cd:6cff with SMTP id i8-20020a17090a138800b0025ea3cd6cffmr4620427pja.36.1687179927801; Mon, 19 Jun 2023 06:05:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687179927; cv=none; d=google.com; s=arc-20160816; b=vqVynRkjlvv0GaGdIrq5RcckDie+lIffoS5q53/2kAQ39cRN/d+9BGlS0z75dsjttK 1F8haVhZB2958W0hMwqc/wBTRH2smhBFnwiWoI2Jtgl5Y1GuhmlkL9R0vyEqTWtx6Q7r UF1dxbZ5dtjscpnFxEFJHgXQvtBDlRnUfGNxixn/y8ru8XD1Be5ZSPB8VjgpoXrlmNbs EpVX4LuNY66wESle/aNeT1fKAxLXM7KJxoDEiPmPPsQoLSpsilLPmBsRWU4LvMiLHni2 poj61+IhTdED0qeFo5ioYNIxWMoNbGcdpSDsxDgG1tF0Wt1dDnIBBGqa3kYb3G9IuXVF iyAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :hmm_source_type:hmm_attache_num:hmm_source_ip; bh=szLbWosjgaMDbBJCxntuiLdmjh2nPhYUGf0/VZWl3lM=; b=HiRpmR+t580BrqShLLkiHLjOp7AxTV1QETPjyc8eVZV6mUTUEDnUaAy2bUlGIimLHY bE4FpP6+gDe3fPDWOQ2f45qEmXqMKbpj/0ReMP8p1hJPAkWLhlrM1tHfTwkvgYGY8OCo gb1FPKK53BXfvFRCYMKii6zhiSiUfaTSgJupPcirknA1522QBfuRAmK5sUgICwEZOTmf jwDOwfYf3RIf7DR27Wdt3wf4FmSxpNb/ze2UXOxJdj50PSQRjhy/LVoArl7KGdhCid7b SCNNgSzWCbRXcohKfIIh33sOmmh4zMVbHQm1wW7CPFpUHCbK4F0UexD6mAkG0gLVadta gGLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gk9-20020a17090b118900b0025bee703261si7561455pjb.104.2023.06.19.06.05.13; Mon, 19 Jun 2023 06:05:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230464AbjFSMnF (ORCPT <rfc822;duw91626@gmail.com> + 99 others); Mon, 19 Jun 2023 08:43:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230477AbjFSMm1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Jun 2023 08:42:27 -0400 Received: from 189.cn (ptr.189.cn [183.61.185.104]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0ABA7F9 for <linux-kernel@vger.kernel.org>; Mon, 19 Jun 2023 05:42:22 -0700 (PDT) HMM_SOURCE_IP: 10.64.8.41:49634.708654646 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-114.242.206.180 (unknown [10.64.8.41]) by 189.cn (HERMES) with SMTP id D8EE010299B; Mon, 19 Jun 2023 20:42:19 +0800 (CST) Received: from ([114.242.206.180]) by gateway-151646-dep-75648544bd-xwndj with ESMTP id 3963c01ed2f142e5934dee2e8a8f5cd0 for l.stach@pengutronix.de; Mon, 19 Jun 2023 20:42:20 CST X-Transaction-ID: 3963c01ed2f142e5934dee2e8a8f5cd0 X-Real-From: 15330273260@189.cn X-Receive-IP: 114.242.206.180 X-MEDUSA-Status: 0 Sender: 15330273260@189.cn From: Sui Jingfeng <15330273260@189.cn> To: Lucas Stach <l.stach@pengutronix.de>, Russell King <linux+etnaviv@armlinux.org.uk>, Christian Gmeiner <christian.gmeiner@gmail.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch> Cc: linux-kernel@vger.kernel.org, etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Rob Herring <robh@kernel.org>, Sui Jingfeng <suijingfeng@loongson.cn> Subject: [PATCH v10 11/11] drm/etnaviv: Replace of_platform.h with explicit includes Date: Mon, 19 Jun 2023 20:42:01 +0800 Message-Id: <20230619124201.2215558-12-15330273260@189.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230619124201.2215558-1-15330273260@189.cn> References: <20230619124201.2215558-1-15330273260@189.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FROM_LOCAL_DIGITS, FROM_LOCAL_HEX,RCVD_IN_SBL_CSS,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769136379821640022?= X-GMAIL-MSGID: =?utf-8?q?1769136379821640022?= |
Series |
drm/etnaviv: Add pci device driver support
|
|
Commit Message
Sui Jingfeng
June 19, 2023, 12:42 p.m. UTC
From: Rob Herring <robh@kernel.org> Etnaviv doesn't use anything from of_platform.h, but depends on of.h, of_device.h, and platform_device.h which are all implicitly included, but that is going to be removed soon. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn> Tested-by: Sui Jingfeng <suijingfeng@loongson.cn> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/gpu/drm/etnaviv/etnaviv_drv.c index c9f502a89de6..ee47efff42a6 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_drv.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_drv.c @@ -7,8 +7,10 @@ #include <linux/dma-mapping.h> #include <linux/dma-map-ops.h> #include <linux/module.h> +#include <linux/of.h> #include <linux/of_address.h> -#include <linux/of_platform.h> +#include <linux/of_device.h> +#include <linux/platform_device.h> #include <linux/uaccess.h> #include <drm/drm_debugfs.h>