public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/3] phy: apple: atc: Make atcphy_dwc3_reset_ops variable static
@ 2026-02-16 11:04 Krzysztof Kozlowski
  2026-02-16 11:04 ` [PATCH 2/3] phy: marvell: mmp3-hsic: Avoid re-casting __iomem Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-02-16 11:04 UTC (permalink / raw)
  To: Sven Peter, Janne Grunau, Neal Gompa, Vinod Koul, Neil Armstrong,
	Philipp Zabel, asahi, linux-arm-kernel, linux-phy, linux-kernel,
	linux-arm-msm
  Cc: Krzysztof Kozlowski

File-scope 'atcphy_dwc3_reset_ops' is not used outside of this unit, so
make it static to silence sparse warning:

  atc.c:2026:32: warning: symbol 'atcphy_dwc3_reset_ops' was not declared. Should it be static?

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 drivers/phy/apple/atc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/apple/atc.c b/drivers/phy/apple/atc.c
index dc867f368b68..32d97226e926 100644
--- a/drivers/phy/apple/atc.c
+++ b/drivers/phy/apple/atc.c
@@ -2023,7 +2023,7 @@ static int atcphy_dwc3_reset_deassert(struct reset_controller_dev *rcdev, unsign
 	return 0;
 }
 
-const struct reset_control_ops atcphy_dwc3_reset_ops = {
+static const struct reset_control_ops atcphy_dwc3_reset_ops = {
 	.assert = atcphy_dwc3_reset_assert,
 	.deassert = atcphy_dwc3_reset_deassert,
 };
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-02-27 15:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-16 11:04 [PATCH 1/3] phy: apple: atc: Make atcphy_dwc3_reset_ops variable static Krzysztof Kozlowski
2026-02-16 11:04 ` [PATCH 2/3] phy: marvell: mmp3-hsic: Avoid re-casting __iomem Krzysztof Kozlowski
2026-02-16 11:04 ` [PATCH 3/3] phy: qcom: qmp-usbc: Simplify check for non-NULL pointer Krzysztof Kozlowski
2026-02-16 11:33   ` Konrad Dybcio
2026-02-16 14:58   ` Abel Vesa
2026-02-24  7:47   ` Dmitry Baryshkov
2026-02-24  7:57 ` [PATCH 1/3] phy: apple: atc: Make atcphy_dwc3_reset_ops variable static Janne Grunau
2026-02-27 15:29 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox