Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2757735rwp; Fri, 14 Jul 2023 10:49:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlGU0vmb8k4GebI1iMqRbiGuUTQQF24/MTIiTQ0XiaQZmpErxsPLTEn07TD6SxiTgVY8piKv X-Received: by 2002:a17:906:d4:b0:993:d88e:41e3 with SMTP id 20-20020a17090600d400b00993d88e41e3mr3726581eji.4.1689356990582; Fri, 14 Jul 2023 10:49:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689356990; cv=none; d=google.com; s=arc-20160816; b=03lFh33VGj3d5uwAz/WqWyjweRDfSfx9rk3LwxKqnJvBqF0zOhldsjJseaAOxwHwJa vP7ZAxl5JnaSfrz2bhcC2V1F4/mn1AUgpDZCqGdQEf8173zu7+VLOck5YsYN9c4zel3o gYDVN+tyIz+Sp7qcj5ZD4TWuHjhYhl78GcdsEFTNO2XyDYfNS3B5IcYDqhB7mvohxWC6 m8TpyRObWLd6UCeOrlFt0iWWCIEAqigalHQqeiVApIP1M5rx5vMixq4k5VcNo0/x2D95 UGA/khlkqdtqX+c3PvsCN3jVzVFzob1xId65n7SryWbBy/lw0lj+TBKclq3lJnEjbu87 h2PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tbnXx32b0pw3Y6lPoCZenwP0EHedcl32z0w7atSgdAw=; fh=HIeUNbNDtmn5/Z2iEZtaQN79oTNsR5HKa10dBaUkxzo=; b=tdZ2Tcy9UgdpsxbOeWz4t1TM3X05hyJR3KIUIt6Lc2+CzkzO/H3JWa98FUQ5ff0h3x hMYzgKx4dQq5AKke7ubol/QPDXiEt+mnALJ+Id1qHwkXyNzLXv36tBki/CsrZHs0CjwN hgQTX4FttbfZViru2IC7ywASSrpuaMFZtw2KexyxIKBWEniKSGfJrDLUfKMMSytIyBSi X9DN+gYEev01VLvKsQVPa9kcgx3tTPY2c4/zqhTt9rZ4ni69U2gZo8T8bjELT+d+nB0t IKAmgsxeZIldmffNBvMdgat2/8hjS1BrHc6dL0Rt+qTJqjXT8LX70e+66oLhhTLZFPvX tTYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id le12-20020a170906ae0c00b0098e15543465si1300644ejb.280.2023.07.14.10.49.25; Fri, 14 Jul 2023 10:49:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235895AbjGNRoT (ORCPT + 99 others); Fri, 14 Jul 2023 13:44:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235524AbjGNRoR (ORCPT ); Fri, 14 Jul 2023 13:44:17 -0400 Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71DE1272B; Fri, 14 Jul 2023 10:44:11 -0700 (PDT) Received: by mail-io1-f48.google.com with SMTP id ca18e2360f4ac-78362f574c9so84944439f.3; 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=mC88ucWZnOLMpokKIn1WZQsU+2fqqgAaN0R9N9WnRSS5QaFNSE05XGxXKdgkUELDmS 7F95qXXPdVSVBbFwwB/qtMQYfhsAVnoUUSjlIgzs7976Nc0deYcuYQDu1ptmtSlkplBm Aovmbb94HBEnTt2cP7O0pohZ7U5mmBLschdgdmCtXRgX+qfnQgn64EIGmtwkW8kOmSak prb9+GvoHNaoMUbqoNdOLHrCpg8IH9E0MBVaH9r3cwXkJOWZtxN/5BMWcY/vpphzZekk dJDFcY28Xdlwq2i1tADCBdTxS844ou4Nr6/7cG2lzbCFxU/fDOiu2ZTZH1pCjTEZaQt4 Odjg== X-Gm-Message-State: ABy/qLaoabrK7ZtSpel8KoD1LGDV2Qwkepv+aTZld+TyCseBaWr/yvj7 OpPnmYZs/OxeFLvOfEl5JG5kh8SIew== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 -- 2.40.1