From patchwork Fri Jul 14 17:44:55 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: 1807958 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-fsi-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R2f6K1q7xz20bh for ; Sat, 15 Jul 2023 03:46:17 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4R2f6K0zlNz3cN6 for ; Sat, 15 Jul 2023 03:46:17 +1000 (AEST) X-Original-To: linux-fsi@lists.ozlabs.org Delivered-To: linux-fsi@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.166.41; helo=mail-io1-f41.google.com; envelope-from=robherring2@gmail.com; receiver=lists.ozlabs.org) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4R2f4t1lpzz3cQS for ; Sat, 15 Jul 2023 03:45:02 +1000 (AEST) Received: by mail-io1-f41.google.com with SMTP id ca18e2360f4ac-78666f06691so88234939f.0 for ; Fri, 14 Jul 2023 10:45:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689356700; x=1691948700; 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=r+VnY1SVHoOF4Oa9Wkp3gC6amJUnVTlmssx6HJDixzk=; b=HKghTodnR/nuvLzhwP/XwQ3RruJxaljGFKQoP54RQin/7DWbJYSjg3Ya85MNIKJHVq b4f6PxtfJQhL+sOBYjqJKdceAnFH4PcrqnqqcI3ve28CYu5pKCCqDY3ze+DSCsmKtn75 5JtVHEq4mMr9N12sK21JsUQizBLq4T7/JZ7A+qKGRuabo/Qh56LQblkRfhEn5SLcV82H fK2Bb8rAnQlw6FvOeBMP4qJW1WByDrV8Kgc3lx8UAYyH7qZ5Ll8xWfP0D1MLaSNOp9kl yqG6GacntxQX1hBKaHygUX/W2oiuoDsLdvd91SwSmPgjCXqcyaYOIEzegRP5hubhh3DC NuNg== X-Gm-Message-State: ABy/qLZB5C7ExrO8BUnQQHnhOfC8JY2muhQDn3x4mqcAt/xN5qie7iec VJtfzbtHX+VQJKzFDpEKeA== X-Google-Smtp-Source: APBJJlGaSlSc5nvpef7wL6QQP41H/qskDMxt+Zu36PIkzrgzIpflxafdpAZ5u4efy5787lsIkqgTLA== X-Received: by 2002:a5d:87c6:0:b0:785:ccfe:b68f with SMTP id q6-20020a5d87c6000000b00785ccfeb68fmr5428381ios.4.1689356699834; Fri, 14 Jul 2023 10:44:59 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id v6-20020a5ec206000000b00786450bb4edsm2672026iop.35.2023.07.14.10.44.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:44:59 -0700 (PDT) Received: (nullmailer pid 4055431 invoked by uid 1000); Fri, 14 Jul 2023 17:44:57 -0000 From: Rob Herring To: Jeremy Kerr , Joel Stanley , Alistar Popple , Eddie James Subject: [PATCH] fsi: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:44:55 -0600 Message-Id: <20230714174455.4055341-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-BeenThere: linux-fsi@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org Errors-To: linux-fsi-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "linux-fsi" 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. 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. Signed-off-by: Rob Herring --- drivers/fsi/fsi-occ.c | 1 - drivers/fsi/fsi-sbefifo.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fsi/fsi-occ.c b/drivers/fsi/fsi-occ.c index 73a747437cde..da35ca9e84a6 100644 --- a/drivers/fsi/fsi-occ.c +++ b/drivers/fsi/fsi-occ.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/fsi/fsi-sbefifo.c b/drivers/fsi/fsi-sbefifo.c index 3db6718054fd..4bae52c98620 100644 --- a/drivers/fsi/fsi-sbefifo.c +++ b/drivers/fsi/fsi-sbefifo.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include