From patchwork Fri Jun 23 07:19:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13290037 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 EF3AAEB64DD for ; Fri, 23 Jun 2023 07:20:28 +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=dzDzl1QfolErGGm6a6nT2nuyCO/QkaxbRtSMhxqqbc8=; b=EX29jVrLHFImBM AQu8Ak8dQ6gONebJz4L1iX/Pv50vmiC3asA2af0wdd3ctC2B7endG9VtiCNFkJzb/iAEofIzrVlaJ wPsCrmz2ZBpw/OB5S8KgmC4AMqOoIshDMc3J3CR6BzQn7EmOL8KkHIjocET9eaFcKwO/caECaa+iL +0gqLLggzyd5XsG964wZuliyStH93Yw6ZFbjysnVHoCnwEoz68euUg75JF+Kl3xr1E/B1bLjF9Ouk KUw3BC0swSAFxQQ5ndP485pJZP0U0b0S8D3z0vKEvnZYRvjQcskfiAt59S6dV0WOomMOSLQ9CRWPC KC1FRVdY+vbNRlFLcXmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qCb5M-002lxZ-1B; Fri, 23 Jun 2023 07:20:00 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qCb5J-002lx4-1N for linux-arm-kernel@lists.infradead.org; Fri, 23 Jun 2023 07:19:59 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4FA7161988; Fri, 23 Jun 2023 07:19:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BF94C433C8; Fri, 23 Jun 2023 07:19:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687504795; bh=mRTvW/o0xmVdwrv39D1Fas9Eznwc5euBRtXh8CpBW0o=; h=From:To:Cc:Subject:Date:From; b=eIptzNpzAjuBrYBJgzYUHiNnP/v7uie4yD6pV7JQFjQqwmhlgC4/nhDdYUM02+8O9 3G7oa5knVtIplakMilPOwkiF3ZmEczXIM1gufU9nNrQ5t7jR6dIPagGytX2kAUrcHa yMhSS84S70R8a8Bv2L/UQaKJmS6Nd23kstz2sT6nS4vrLDRUlMU9/jH92gMwVO72xm K64bC+ABCK8JuKvtEUoOlcydNFLU90y0vKE6jl/1wwgAASOp0FXpRY/dtGyrp2AX85 Y7EMZ6BEe6K3d+Ay7Nzu4x2a39BxXZmV/Ev6VPqmul46ivLOoOMWNSQtfCMGPY7sSM gEWAaRgepjNBA== From: Arnd Bergmann To: Daniel Lezcano , =?utf-8?q?Uwe_Kleine-K=C3=B6?= =?utf-8?q?nig?= Cc: Arnd Bergmann , Linux Kernel Functional Testing , Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: imx: Drop inclusion of unused header Date: Fri, 23 Jun 2023 09:19:19 +0200 Message-Id: <20230623071948.3254789-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230623_001957_553489_FDB9ACE5 X-CRM114-Status: GOOD ( 12.57 ) 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 From: Arnd Bergmann After removing this header in the clocksource tree, the clk drivers no longer build: drivers/clk/imx/clk-imx1.c:13:10: fatal error: 'soc/imx/timer.h' file not found drivers/clk/imx/clk-imx27.c:11:10: fatal error: 'soc/imx/timer.h' file not found This patch was originally posted as part of a three-patch series, but only patches 1 and 3 got applied. Reported-by: Linux Kernel Functional Testing Fixes: 9e9d7570485d7 ("clocksource/drivers/imx-gpt: Fold into its only user") Link: https://lore.kernel.org/all/20230328100531.879485-2-u.kleine-koenig@pengutronix.de/ Signed-off-by: "Uwe Kleine-König" Signed-off-by: Arnd Bergmann Acked-by: Peng Fan Acked-by: Stephen Boyd --- I would suggest merging this through the clocksource tree as well, which now has the third patch. --- drivers/clk/imx/clk-imx1.c | 1 - drivers/clk/imx/clk-imx27.c | 1 - drivers/clk/imx/clk-imx31.c | 1 - drivers/clk/imx/clk-imx35.c | 1 - 4 files changed, 4 deletions(-) diff --git a/drivers/clk/imx/clk-imx1.c b/drivers/clk/imx/clk-imx1.c index 22fc7491ba008..f6ea7e5052d56 100644 --- a/drivers/clk/imx/clk-imx1.c +++ b/drivers/clk/imx/clk-imx1.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include "clk.h" diff --git a/drivers/clk/imx/clk-imx27.c b/drivers/clk/imx/clk-imx27.c index 5d177125728df..99618ded09397 100644 --- a/drivers/clk/imx/clk-imx27.c +++ b/drivers/clk/imx/clk-imx27.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include "clk.h" diff --git a/drivers/clk/imx/clk-imx31.c b/drivers/clk/imx/clk-imx31.c index c44e18c6f63f7..4c8d9ff0b2ad5 100644 --- a/drivers/clk/imx/clk-imx31.c +++ b/drivers/clk/imx/clk-imx31.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include "clk.h" diff --git a/drivers/clk/imx/clk-imx35.c b/drivers/clk/imx/clk-imx35.c index 7dcbaea3fea35..3b6fdb4e0be78 100644 --- a/drivers/clk/imx/clk-imx35.c +++ b/drivers/clk/imx/clk-imx35.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include "clk.h"