Skip to content

Commit c2e1749

Browse files
krzklinusw
authored andcommitted
pinctrl: cix: sky1: Unexport sky1_pinctrl_pm_ops
File-scope 'sky1_pinctrl_pm_ops' is not used outside of this unit (and it should not be!), so unexport it and make it static to silence sparse warning: pinctrl-sky1.c:525:25: warning: symbol 'sky1_pinctrl_pm_ops' was not declared. Should it be static? Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
1 parent a48150d commit c2e1749

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/pinctrl/cix/pinctrl-sky1.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,11 +522,10 @@ static int __maybe_unused sky1_pinctrl_resume(struct device *dev)
522522
return pinctrl_force_default(spctl->pctl);
523523
}
524524

525-
const struct dev_pm_ops sky1_pinctrl_pm_ops = {
525+
static const struct dev_pm_ops sky1_pinctrl_pm_ops = {
526526
SET_LATE_SYSTEM_SLEEP_PM_OPS(sky1_pinctrl_suspend,
527527
sky1_pinctrl_resume)
528528
};
529-
EXPORT_SYMBOL_GPL(sky1_pinctrl_pm_ops);
530529

531530
static int sky1_pinctrl_probe(struct platform_device *pdev)
532531
{

0 commit comments

Comments
 (0)