From patchwork Mon Oct 30 14:26:21 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: 13440663 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 0A4C7C4167B for ; Mon, 30 Oct 2023 14:27:56 +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=NRBeZS4Hi5sb7/PPAbxmRWvZyNDuiRMI9vBopP9NdPg=; b=FLoO4bTsQ4VYh+ kCQCd+VHxJAndOWydA9wx22EIdIC5F/ZiWjjZs0ZrPx7vVDaLudijSEJpZHPHFuhPSPHHY7R27DUb MkWNYRh93fdkYZKov8cMALSO3GKjjz5Zbkyz8JcC2yPD4BzT+VjuJZAKYoilAa2zgY9O5deo16Z/d yRNz/jAyFxcYMQC00riVurgQ168sXRKDup9+lf8VzNB4O5mV4Rv6zyYsxiKq1UDJMcaKDqbJfDwhR 8Xa4+JYhWHPK6FS+DxOOPT5DA4FM8QixieAjKQW8RPm94TaulOE3jOAAkkOYMPd/gkfZFlT+lYHRz 9IevnmohVL/GIKL0URTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxTEm-003U0G-2a; Mon, 30 Oct 2023 14:27:28 +0000 Received: from mail-oo1-f50.google.com ([209.85.161.50]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxTEj-003Tzd-1f for linux-arm-kernel@lists.infradead.org; Mon, 30 Oct 2023 14:27:26 +0000 Received: by mail-oo1-f50.google.com with SMTP id 006d021491bc7-57ad95c555eso2968796eaf.3 for ; Mon, 30 Oct 2023 07:27:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698676043; x=1699280843; 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=bqGE+grehw3xbV0zDjPAo9aiOxbRmWUNIDFRm/VPJr4=; b=YgJzyBB3idC2SCsjspWg3yUKRMVS+a08wm3Cf3iFueI/QbEPYMQnThX9xMgzjLfRaN e9aG9lecPO6AT+yTPX0/LeU9FT6S6wlXEc6R/aIl48JoC556VT2WUj64Tr/Ndo8K18cj 6fMaRU0w3VJoFJWxDt2yVk1Yxnd/3FJpwBkadFrdpweGjoh+QQL9PaBjPG2co7o84itv mXRa73i9SuwKWA1o6Xmb7VVCprOq/5ua9pJCQfjypN7euDVK0NAr0oR33f3aA2Snxafs ZokEXrL+xLX7QjfM30TRjL6W6dnpENMBtDGkBz3TBX2lRJ/01u2whgTbuay8lG8iWv+7 XOFA== X-Gm-Message-State: AOJu0YyfHnWYBn8inOEc5V60SrktDIblXcF67B7xIsOyKripfQ5P7sIf Ad4zxdsoSEQALTQ+NKG5pA== X-Google-Smtp-Source: AGHT+IE7d3qTe9TNfkTKRFaPOQ39ZwkuT78GxUML3FSSbwJlzlCcjSZP7s6lwOkd/N4/eLj9LKppqw== X-Received: by 2002:a05:6870:815:b0:1e9:9c39:a580 with SMTP id fw21-20020a056870081500b001e99c39a580mr11847037oab.7.1698676043410; Mon, 30 Oct 2023 07:27:23 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id q5-20020a9d6305000000b006ce32816a35sm1445877otk.81.2023.10.30.07.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 07:27:22 -0700 (PDT) Received: (nullmailer pid 822774 invoked by uid 1000); Mon, 30 Oct 2023 14:27:21 -0000 From: Rob Herring To: soc@kernel.org, Hector Martin , Sven Peter , Alyssa Rosenzweig Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH] soc: apple: mailbox: Add explicit include of platform_device.h Date: Mon, 30 Oct 2023 09:26:21 -0500 Message-ID: <20231030142620.818663-2-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-20231030_072725_572981_1263FA8F X-CRM114-Status: GOOD ( 13.13 ) 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 Reviewed-by: Neal Gompa --- Note this was added in the merge window and missed the last round. Arnd, Can you apply this directly. --- 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