summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>2026-02-16 14:04:14 +0300
committerVinod Koul <vkoul@kernel.org>2026-02-27 17:33:38 +0300
commitb3fddddf3fb49c7472e73680d6ea5d771f9514e8 (patch)
tree7943b8b4f89860f7312e2f6c9111b5fcc0824015
parent7df891f2c39442c120fb4f9bfdd7c80e6de84015 (diff)
downloadlinux-b3fddddf3fb49c7472e73680d6ea5d771f9514e8.tar.xz
phy: apple: atc: Make atcphy_dwc3_reset_ops variable static
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> Reviewed-by: Janne Grunau <j@jannau.net> Link: https://patch.msgid.link/20260216110413.159994-4-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--drivers/phy/apple/atc.c2
1 files changed, 1 insertions, 1 deletions
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,
};