From patchwork Fri Jul 14 17:43:57 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: 13313924 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 6048DC0015E for ; Fri, 14 Jul 2023 17:44:47 +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=fhYJhSTz8rKiPDmewofmn0zL/wVAkAl2VZEKi1UXHIE=; b=BaYI6lvX0nYdqS aCl7MZXqOZod7iqIrn0HKSkWKA5OkicMC6X6hPiZc7ck04ylEQrEUySHggboGN/u7Z1DQzq/uiRxQ PxKTGa9mlWSXCbXuQYRRJruEntmEIVTjbS4sg7Q4vOm7M332pjfjMLWPakUhYSdBtSLj1W5ElQJ8v qIJ8HK3SSLBLv/6syiNFenmV5qnXMa2PekdjaqSkRPlI9gvGkkedL3ufaEQFOox5mZ9MUza8TFHud 2uWKEVMUSnX9WWDhSSwp5M8MGzTOp6iUuzWwGzyt/n2Csplr4S+vM2osAphp5PtzIDCgifp/AqgDI sEHyJS4BZlDTCr5VSFwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qKMpz-006n56-36; Fri, 14 Jul 2023 17:44:15 +0000 Received: from mail-io1-f47.google.com ([209.85.166.47]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qKMpw-006n2h-1s for linux-arm-kernel@lists.infradead.org; Fri, 14 Jul 2023 17:44:13 +0000 Received: by mail-io1-f47.google.com with SMTP id ca18e2360f4ac-78654448524so84936839f.2 for ; Fri, 14 Jul 2023 10:44:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689356650; x=1691948650; 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=tbnXx32b0pw3Y6lPoCZenwP0EHedcl32z0w7atSgdAw=; b=ITR1NBVz3o786AvP8bqj6thcPcMBd3MLrVynhw8P3XV/W6cGPTcNuM0zZ8umXPm/PM cpYx8TCWgHf7KqHSSnSoP5kZB7UXt0Ho5qwq429/8JOjbcBOwHihDAfss1ohaFllJVUV HDQ8gOrZnHbjsI8oUQyUDWXwJpY3WtxCbE8QF0PK+NoqooApc1h8OeCqwQB1c3IlZ1RM fMjbqOJTOz+b5KBPy0cvWs7ULzdRWJM98O6XA+/Zy8QC3Rb8+Ao1BugBZj6eC4arJH1r ngx2+hwG9ZN//QoZ0VOG7cmRb+xYJJv4pJOH5OycEyI+JA24EpPuezM2j1fGHUxBGmik KVxA== X-Gm-Message-State: ABy/qLbk/uNighFSWsElU4RCtP9frNOVKKZuatfafFB5zWpL/fYJFac1 hpas/g+9AVIkX0cJ/V7Sng== X-Google-Smtp-Source: APBJJlF0b3rNTIdmTZAitWk9gWhvSQaYM66GBdxe+oNBcL54b38RFE7uy2lqSBfVBplWHKv8ftgiIw== X-Received: by 2002:a5e:941a:0:b0:784:314f:8d68 with SMTP id q26-20020a5e941a000000b00784314f8d68mr5436360ioj.1.1689356650700; Fri, 14 Jul 2023 10:44:10 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id w25-20020a056602035900b00783b0780bd8sm2812351iou.4.2023.07.14.10.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 10:44:10 -0700 (PDT) Received: (nullmailer pid 4053799 invoked by uid 1000); Fri, 14 Jul 2023 17:44:08 -0000 From: Rob Herring To: Kamel Bouhara , William Breathitt Gray Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] counter: Explicitly include correct DT includes Date: Fri, 14 Jul 2023 11:43:57 -0600 Message-Id: <20230714174357.4053541-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230714_104412_625292_4BA942D1 X-CRM114-Status: GOOD ( 11.43 ) 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. 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/counter/microchip-tcb-capture.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/counter/microchip-tcb-capture.c b/drivers/counter/microchip-tcb-capture.c index e2d1dc6ca668..975e431d1590 100644 --- a/drivers/counter/microchip-tcb-capture.c +++ b/drivers/counter/microchip-tcb-capture.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include