From patchwork Mon Oct 9 17:29:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 150239 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp2022762vqo; Mon, 9 Oct 2023 10:33:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEDNxecA/LuyHSLk8imHvzNrpKMwk01oBfb8G2OK7wHFlxevSuU3rt92ZOKJj7vOh4pQIS0 X-Received: by 2002:a05:6e02:1d89:b0:34f:2756:8fd with SMTP id h9-20020a056e021d8900b0034f275608fdmr19235472ila.9.1696872832788; Mon, 09 Oct 2023 10:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696872832; cv=none; d=google.com; s=arc-20160816; b=FiduQnakGslNet/wZPxvFh/Seatz3QB0KY+ye8Tt9Oj/cXO8BVebiwKMyCFktwZ/LQ H/9Htf8D+XNl3pEHnV4NRNtLAiQptg5FrNMVsLvTBGBLCdCrI1ncXjt/3ahIIir6+5Xo koiCc545ir/8mUaxAZgYeJRQHKIyqLy/s4nXfl1/F+wAgHEGYYFTd2UiTCqNKLRrGgAh 7pY+L6I2JmMsQTJ7l2M3tzLCR4ZWEZJ0B3+YTjNHQkpsKCAid7Tr0pGcOdnU69u7sNEz Rr34r1LTLsfM8vzzK3Knhzk6z4peQ1fPbS2Ui1q1QO65jU6wOBtbJHyY7R76+pSPKz6i g0cQ== 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:dkim-signature; bh=5cRNbYkY7aWFRzl7QHzAZ8t205AZT6RBs1SQ4Hw5Y/o=; fh=RlPrYwuuNnzIpcH3bM9IMg9fUKMugldgqy5DfrRCTvI=; b=RSKwHVZoU6rJfA/XykDce2wLbjNt5dmHYje9HWA0Ir+IaX8/fV/Sb4A2rXIIRrxFUX HKTFwvTYVvPjSjrVLAi9+rBiB9OgWI8mQjIbfuT1akt7hpju6+QpH7HQlBdRdRw419KT +vHXuTHCNCo3w7RJmH2ruuqbNgUx/GljIdWJmet19dM46NH3JKhQ5gjd3cyB/g+ZE+Ot Ku6HPB1yVyyWXjWczsGIlmCwxaxNS8z2eA92Gj2e64zxqtbOjXp25OsnUyqjWb4eSoVB yhnT45yWlAYloTV0N2KOJ61RJxBqj8sUYn0dqyNQh+VsS4eyrG+5I88JwoD32upu7G5g /KlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tf1eMtFd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id l133-20020a633e8b000000b0054fdfd26dffsi10642263pga.337.2023.10.09.10.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 10:33:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tf1eMtFd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C3E13801B6E4; Mon, 9 Oct 2023 10:33:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377995AbjJIRdV (ORCPT + 18 others); Mon, 9 Oct 2023 13:33:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378148AbjJIRdC (ORCPT ); Mon, 9 Oct 2023 13:33:02 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E35FD8; Mon, 9 Oct 2023 10:32:58 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 671D5C433CA; Mon, 9 Oct 2023 17:32:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696872777; bh=k9GQF3dFjUZ/8wGvGz0nYy9OjUlIAHfJQ/PEH5MjWN0=; h=From:To:Cc:Subject:Date:From; b=tf1eMtFdYCl04xz1yl70rIFn+Qf2Gn9KQUiqG26EMJ7qIeQfM/MJZKZ3dpzZiEmo5 N+uAT1ywuxKsVD1QCtqdSTedCp2fKGQhsn0KyOEwC8FA8tKIVtbndM+j0rKEIuyq9L fC5xtS0YsS+MpMO4QeJhpA+DcXxrgzZEDtA0HZq5nWwmsVAVRIRS6u1KglmSLHBsId URS4Y5okmGJ5JcRwvyuPyCMeu6uGgs1JGbm/Syq0S4wy9EkKaa8HReyFLzRDBwqDK8 X4GMlSebCiaKviSDDzjeLwhkB0DJWx36SqK55Hoi+U4eJuteIF6i65V/iIby0VLbaK j404VSRK1dxgA== Received: (nullmailer pid 2535184 invoked by uid 1000); Mon, 09 Oct 2023 17:32:56 -0000 From: Rob Herring To: Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6n?= =?utf-8?q?ig?= Cc: linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pwm: pxa: Explicitly include correct DT includes Date: Mon, 9 Oct 2023 12:29:17 -0500 Message-ID: <20231009172923.2457844-22-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 09 Oct 2023 10:33:48 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779300127582862434 X-GMAIL-MSGID: 1779300127582862434 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 Acked-by: Uwe Kleine-König --- drivers/pwm/pwm-pxa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index 1e475ed10180..78b04e017c49 100644 --- a/drivers/pwm/pwm-pxa.c +++ b/drivers/pwm/pwm-pxa.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include