From patchwork Tue Oct 10 20:56:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 13416151 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2508BCD98C0 for ; Tue, 10 Oct 2023 20:57:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vmeneBYzWjXyY8D/gQxPfnP9gDvFuaRk2LfRFRvFhJE=; b=LFt7GBQNJ7w3vi H/hvL+0d9EZOgV0QZ/cB/hpCNoE04rETETYpvBp3xWSGrROwPpUOTrxAbh8bRo0lpBT7sB6yaOKMp H5e5pyG84Hpq80PLu7y/szHwnZvMXx1dEd5JBGsJTaq/i25wsj0Dmh31NRBTzA26pBrAo81UNJkn7 krvNqXb5xKncvpXICLv4VDikoSVA6tjTVWo1Ak3FRUtqTCGkdypg2gC8nnXaYbBekSVPeuuyUIG0G r7dGeoxkXPtefRm8tydDjRmpRPEWbkWzaI3WtjB56lk2m3w4HmCO+i9lntQpC6GKtgODEE0ZmY9vW MOoqESdqGzt9twnuvvZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqJms-00E9gW-0h; Tue, 10 Oct 2023 20:57:06 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqJmo-00E9fr-1M for linux-arm-kernel@lists.infradead.org; Tue, 10 Oct 2023 20:57:04 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 8F9F1CE20D3; Tue, 10 Oct 2023 20:57:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31465C433C7; Tue, 10 Oct 2023 20:56:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696971419; bh=suuDB+tTBn5ITRqlAhlU4jlW36SzhBMty2iyCgJJw2Q=; h=From:To:Cc:Subject:Date:From; b=gERlxxet+vSuTV0nBpq1b95B3MXWdMN5p3S2iGJH+MZIRov5R9XRwjB7y9B/IHzUd L1WBf/8vjv+v0Lv0ssNKOfI2lJm/auJXwOXG2BbZeBQ3U+pOdSFRV5oZaB3J4RvLzs fMRr/ttbXyl1FIAZ2Iv+lcGYIVrOBKP2MwiXaLmlzoC42qoJE1o6EH9QGEUb4rDPcm rQi73Phyy4CRSsrdT2mS3jrMVJ6YL04tdJ6g+DrYRtukYvuqo0bdy24g6q2PDWoKQ/ V5SQV+y1mFRscNG8K7o1+99gVUkTJT18nbzJBBRpWkYPwA3ZxwGIp7/rhdz7mMXoiu 5FEeINj4a6+EQ== Received: (nullmailer pid 1584974 invoked by uid 1000); Tue, 10 Oct 2023 20:56:58 -0000 From: Rob Herring To: Hector Martin , Sven Peter , Alyssa Rosenzweig Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: apple: mailbox: Add explicit include of platform_device.h Date: Tue, 10 Oct 2023 15:56:49 -0500 Message-ID: <20231010205649.1584790-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231010_135702_640506_16344BE1 X-CRM114-Status: GOOD ( 11.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other and pull in various other headers. In preparation to fix this, adjust the includes for what is actually needed. platform_device.h is implicitly included by of_platform.h, but that's going to be removed. Signed-off-by: Rob Herring --- Note this was added in the merge window and missed the last round. --- drivers/soc/apple/mailbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/apple/mailbox.c b/drivers/soc/apple/mailbox.c index 0cbd172f435e..780199bf351e 100644 --- a/drivers/soc/apple/mailbox.c +++ b/drivers/soc/apple/mailbox.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include