From patchwork Mon Apr 10 23:27:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 81678 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2219149vqo; Mon, 10 Apr 2023 16:40:40 -0700 (PDT) X-Google-Smtp-Source: AKy350bSmz9toL18F4YG+FxE6CVTjoDAwL/cwJC6sU7pTbcflojj0Q2208yTXqvmIiV8rkQtWIt+ X-Received: by 2002:a17:90b:1b43:b0:246:94cf:6c26 with SMTP id nv3-20020a17090b1b4300b0024694cf6c26mr8253563pjb.10.1681170039907; Mon, 10 Apr 2023 16:40:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681170039; cv=none; d=google.com; s=arc-20160816; b=JyxXcGGSoq24lMtetdUrRL/mzzp0227ZwASwEIESGXvUy//huNV9fB5JIy4Wv8/Yio BuY/SdrIuZB1yG+XeGhvQS1lzF7Ysn6KJPSlTXJHSTYpY1XGvuTi8WNLD2fsWgB+kmSJ J32muxrbnLKYN1PJigUuAjReg9M5BKLt9lmhwXok2hUAn7k8zq/+MDeU9cjffOfgtiZQ veymKtLEe9RorWrf82fW4K2rEEr/wcMwRobqmKhEUTw8LRr/10S+uO1t1tjh49QUfSXB OZYRbMSvxSYZPaycYoykfOhfleuA0U3Isl69ow72dMOltIjXtIU14i5VAOgkUwoyiPbr Y+Nw== 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 :message-id:date:subject:cc:to:from; bh=Mfji5NwyNXtXMo7uqw/b5LhlGHgLtluaYpZTYl5kDcg=; b=C7ZUesQSwlom0TLBM57488Kp+6li/ndvnzduqCY3uNq3ib+NfqyIVXWzoBFhMi3hYu 69nMheQxO7tFDJFpwsRYWNhCZmrDPx2FCJaGeFmFqBUE3hG2QoxiL+DXPpy3cHcvDnM5 iLneYpYvE/SZx2sRwyJwd3KcwJjtQXSZvK5sQVGFHCjgoXxzKsiVFrsL7zY5fkYmKSqc 8AEn5v01MO2Rxvfe+8edwqzt68/C5R3yr6Rmm+0vtU0vOhc1jIwi9oFHRoeswia4K0pV 7PwnXVmKc6b7JOg8XFYrx5sYDnqPUvWckbfmNfH1O+00CX6T910QlE45xX5Bk1zSO5kN MK0A== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s1-20020a17090a948100b0023d3980730bsi5096078pjo.16.2023.04.10.16.40.26; Mon, 10 Apr 2023 16:40:39 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230030AbjDJX14 (ORCPT + 99 others); Mon, 10 Apr 2023 19:27:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230032AbjDJX1u (ORCPT ); Mon, 10 Apr 2023 19:27:50 -0400 Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08CF82710; Mon, 10 Apr 2023 16:27:42 -0700 (PDT) Received: by mail-oi1-f170.google.com with SMTP id bf5so4325198oib.8; Mon, 10 Apr 2023 16:27:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681169262; x=1683761262; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Mfji5NwyNXtXMo7uqw/b5LhlGHgLtluaYpZTYl5kDcg=; b=1X5EktgpuTUZA3z9/cGIm5uaeMOsBwZoHcVr31VXaXlUaUQjXll9rOiCIXvs0BA9Kp x3zknCRos+8rnR3IHjidGBMZ1H6JtHys9W4w+A3Lm3yR5pZlh0zW2JU+gyUKPBqR2E7G Ma7XoGrW8Z0c+rX8w26BGvrqdyRTyd58U23KtFlfb2f2XeVJVmYIW20NzPaHN5un5xio tCyabZ9cKl5yRsCkoOol07sx3pQ6NZDRKaCyXxI1F9el9uwWxTjPPOvM4nX19GPZ4DGc mMXv1Ta8cfqPriW7SCCfN+W3FvRsiDv8ZwtnvdpEhjkMXDRipqkFnb393tC8i9ZtT3wY 0i3Q== X-Gm-Message-State: AAQBX9dtflDRV+ilNZUGSCpg7BfXJAcfkuPSrvwGZsa5m7FH2pduHJ4N bw2qlSHKESjoeJEIkym1Pg== X-Received: by 2002:a05:6808:4391:b0:384:dfc7:7d84 with SMTP id dz17-20020a056808439100b00384dfc77d84mr4983708oib.58.1681169262021; Mon, 10 Apr 2023 16:27:42 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id s83-20020acac256000000b00383eaea5e88sm4769712oif.38.2023.04.10.16.27.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 16:27:41 -0700 (PDT) Received: (nullmailer pid 1562406 invoked by uid 1000); Mon, 10 Apr 2023 23:27:40 -0000 From: Rob Herring To: Thierry Reding , Jonathan Hunter Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] bus: tegra-gmi: Replace of_platform.h with explicit includes Date: Mon, 10 Apr 2023 18:27:35 -0500 Message-Id: <20230410232735.1562296-1-robh@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=0.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762834555913727801?= X-GMAIL-MSGID: =?utf-8?q?1762834555913727801?= Tegra-gmi 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 --- drivers/bus/tegra-gmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/bus/tegra-gmi.c b/drivers/bus/tegra-gmi.c index 662266719682..e3506ef37051 100644 --- a/drivers/bus/tegra-gmi.c +++ b/drivers/bus/tegra-gmi.c @@ -9,7 +9,9 @@ #include #include #include -#include +#include +#include +#include #include #include