From: Krzysztof Kozlowski Date: Mon, 16 Feb 2026 11:04:14 +0000 (+0100) Subject: phy: apple: atc: Make atcphy_dwc3_reset_ops variable static X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3fddddf3fb49c7472e73680d6ea5d771f9514e8;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Janne Grunau Link: https://patch.msgid.link/20260216110413.159994-4-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Vinod Koul --- diff --git a/drivers/phy/apple/atc.c b/drivers/phy/apple/atc.c index dc867f368b687..32d97226e9264 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, };