Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Krzysztof Kozlowski and committed by
Vinod Koul
b3fddddf 7df891f2

+1 -1
+1 -1
drivers/phy/apple/atc.c
··· 2023 2023 return 0; 2024 2024 } 2025 2025 2026 - const struct reset_control_ops atcphy_dwc3_reset_ops = { 2026 + static const struct reset_control_ops atcphy_dwc3_reset_ops = { 2027 2027 .assert = atcphy_dwc3_reset_assert, 2028 2028 .deassert = atcphy_dwc3_reset_deassert, 2029 2029 };