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: 13440648 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1E5CFC4332F for ; Mon, 30 Oct 2023 14:27:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id D5A13C433C7; Mon, 30 Oct 2023 14:27:25 +0000 (UTC) Received: from mail-oo1-f46.google.com (mail-oo1-f46.google.com [209.85.161.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 039DFC433C8 for ; Mon, 30 Oct 2023 14:27:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 039DFC433C8 Authentication-Results: smtp.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f46.google.com with SMTP id 006d021491bc7-586beb5e6a7so2301291eaf.1 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=N3PHF9PMlIw35OZI+1c+GV+YP8gHSrfVwJdPuJZ0UAGA0xWy019PzuiXjv8nkCU7+9 D67wFnedpl9atWNHrDVqYVOn4JVaTDsrrSbfsQ+L5bYaFp4m4SdqyzGGKML5EFeDYOvB 9Gd+WahPi6gvnBnMbjIkQaBlYSYkvLsf8WQI93dLrXWHkXLuscv+N7yJnppzomXq39oN XEGFSQCT1cjrnGP241yNgT7TvVvjxIfQQgtRyVyBGmT80nB6Ne9M8bLVl13Y2/k0sRyD SywLVPu3Ln+kp8CcG0UGNbHhfeDJlzL+84JObNHIqddsHCABoipLPcG8JHUEmMMH6YIF ydNA== X-Gm-Message-State: AOJu0Yxgu81I374RJfHFPrlVa+AIJeCPf5fgCol7VuXyfXkWAokQoN9r crC2NAsHYcnpmoXS5N/TLOmenOQpFw== 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 List-Id: 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 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