mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-15 23:41:35 -04:00
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>
This commit is contained in:
committed by
Vinod Koul
parent
7df891f2c3
commit
b3fddddf3f
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user