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 X-Patchwork-Id: 150959 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp131641vqb; Tue, 10 Oct 2023 13:57:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGPqXHlDBDPaGoRpoBUzt0PEq9pkAUjK2+j5zJtbl46XgxpSPx1jFDN0+wso6FZ4vI90axL X-Received: by 2002:a05:6830:3109:b0:6b9:db20:4d25 with SMTP id b9-20020a056830310900b006b9db204d25mr27990159ots.1.1696971438118; Tue, 10 Oct 2023 13:57:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696971438; cv=none; d=google.com; s=arc-20160816; b=yXxm6JXs9rLlySGJa0RkeXUQzXYkBlezbgxVZ44HmE6Ag3nGWLjpCH8rnEsp+6gnuw oZ/HX6Ts2D6yU3ZJafsJsVXTudF8kwHA+XuReczBqJSwpiKlVDMkmmiIkABnIxFDfaac eCMglWr949Dt48Fqr+SSDKnC27f7ucGDFhXjv35jCct534nZDGhqxE/aKBzcnaW/svtc mcpuUl6SNEC2y76/bBLyJeYwTaLIrBy4oaudRHkR51TcEjlPJIZLD97A2UChSbOk23R2 yDUdMZ7u81a/nnRf5v7fytlK4HQ0J2Knqp6G7iayLYcfJpzfSS9tkU0n251pLbrnSH/3 AWPQ== 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:dkim-signature; bh=Gks8brCYUardWFnURG50+aM+RauNqh/AHUmwtdPvnQY=; fh=UfMKXwLfpII2cIir8SF/z09Wd+C5j9ojmTGswmaXyr0=; b=trSH+Nch4j+MZyrJsbUo7gXlUd0MLQnj8StoGoZ+vMSgUiG3o7P4pS/v/dDwZ2mf1f SaEmywkb8+byHCJQsoOksE3mytC+x8Rl5+jXcQPxTbQxnkP7D7D4sPBygLrLfSZlCk/n gUqWmW3ud/7MrULzpkOI1luuRPFN2YUUZndyySSIL/1dc0a1bGpgq8wVkXkL6MF96c8o wuKcSWyVCWDJgsdcB5oSresxIMUBWTknvw+UTOG+gc0ZHBIgR5uP7OnKgOBP8pXIZdWE tSxV81jWlKtfCZdf8DZ/utYy/tpLy5Nvkv3sr363NoBsCO83TXYGr3PhAPc0MC3iTjA3 8HFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gERlxxet; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id z15-20020a63e10f000000b00577f87e6210si2706490pgh.332.2023.10.10.13.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 13:57:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gERlxxet; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0A92380D756A; Tue, 10 Oct 2023 13:57:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231998AbjJJU5D (ORCPT + 19 others); Tue, 10 Oct 2023 16:57:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbjJJU5C (ORCPT ); Tue, 10 Oct 2023 16:57:02 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3990791 for ; Tue, 10 Oct 2023 13:57:00 -0700 (PDT) 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-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 10 Oct 2023 13:57:16 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779403522607199580 X-GMAIL-MSGID: 1779403522607199580 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