From patchwork Tue Oct 17 20:33:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13426039 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 3046DCDB482 for ; Tue, 17 Oct 2023 20:34:33 +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=BD7wTGMI95pz2yt5l7Iu8lrwUmUOZ1c9SeGKmj9avxk=; b=Qj3Bzs8hGK1SYe hL2Ux4suTNgrWJyAIE1zHqAK+T+uBIyICJb0O004ttyFYwNeWcK4O60UgCqmKwSvnc6jdQRba6aKy EUjs8ijAezM6Je+UKanGZo8LZgcwyvQUBaxsPMNYrtaS3QJZdqWXcyj0a8WGjZZBvgjvHp5mt+KF4 bn+a4m5uTX/ldqglVvIiWfBmCPa9CX3dYS7M/RHVy4IAqdUTkd9WtJZhGGLL3mizqX2++AKsuDmU/ zihq3rdZ1ogi2rKHi6Z5KbEUXB8yDIW68VlfcwnhrotzQvtz8ssU6XTKXrDsjyIpft5DRFYaVDZR5 GMWI1b7ol27vBoREYl9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsqlU-00DD9q-2w; Tue, 17 Oct 2023 20:34:08 +0000 Received: from mail-ot1-f54.google.com ([209.85.210.54]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsqlS-00DD8u-1F for linux-arm-kernel@lists.infradead.org; Tue, 17 Oct 2023 20:34:07 +0000 Received: by mail-ot1-f54.google.com with SMTP id 46e09a7af769-6c4fa1c804bso4188780a34.2 for ; Tue, 17 Oct 2023 13:34:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697574844; x=1698179644; 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=KRrz5g1aSnyLW5lEPOvcNKexij9vwV1ZcmYt4LIdaa0=; b=SDZqoO0GGWbILLP6ffQOjRecSUkGdKI6ka8ZjfDCgqkUVe+qxYZqhdWmE5qw6srSbq WZNWR84RHTuGxfxGRHbKYb1F5LXey8+80rUWFjEWBo9eKGfibqkzrrVXTHN78912JtyX dPhfsr+l6+Qh3d5qR9NZuhTMdNTtgXxVoHleLzz/38MOHlejL1x1PjjbHPQuV0zr3QIh uwUsZ13YOmzKTkEC3O1/XVL7dp5phD5POevl84KpB8DT73jk4XcuSYx/KtKqE1zZHT2k D5+PfegrOn4NYNoIdCTkL72IVTxse9tZe5LQ4pje+HAR6v3ViceC3e8WBFJKlvnVuLaE bUBw== X-Gm-Message-State: AOJu0YwJdQt4i0Z4aWAZ2PvnsDk8qOz1DkRi3qYp4kSiTnuNclsWKh6M N+zeoHjn7hEPfhp6a60n0whUgCB+WQ== X-Google-Smtp-Source: AGHT+IFQaKQoaiOWi29VFPHOmrVG3na2dpNZRIZ/gBXhMeGnZwm9Ellq+8oszZwYDp/iCkEXOL2NCA== X-Received: by 2002:a05:6830:71a6:b0:6c0:ef3c:5ab4 with SMTP id el38-20020a05683071a600b006c0ef3c5ab4mr4003506otb.0.1697574844449; Tue, 17 Oct 2023 13:34:04 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id g20-20020a9d6b14000000b006b99f66444bsm380588otp.71.2023.10.17.13.34.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:34:03 -0700 (PDT) Received: (nullmailer pid 2698572 invoked by uid 1000); Tue, 17 Oct 2023 20:34:03 -0000 From: Rob Herring To: Alain Volmat , Mark Brown , Maxime Coquelin , Alexandre Torgue Cc: linux-spi@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH] spi: stm32: Explicitly include correct DT includes Date: Tue, 17 Oct 2023 15:33:51 -0500 Message-ID: <20231017203352.2698326-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-20231017_133406_420205_E6143489 X-CRM114-Status: GOOD ( 11.30 ) 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 was merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Acked-by: Alain Volmat Signed-off-by: Rob Herring --- drivers/spi/spi-stm32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c index ef665f470c5b..e6e3e4ea29f9 100644 --- a/drivers/spi/spi-stm32.c +++ b/drivers/spi/spi-stm32.c @@ -13,7 +13,8 @@ #include #include #include -#include +#include +#include #include #include #include