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.

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>

authored by

Krzysztof Kozlowski and committed by
Linus Walleij
c2e17499 a48150d0

+1 -2
+1 -2
drivers/pinctrl/cix/pinctrl-sky1.c
··· 522 522 return pinctrl_force_default(spctl->pctl); 523 523 } 524 524 525 - const struct dev_pm_ops sky1_pinctrl_pm_ops = { 525 + static const struct dev_pm_ops sky1_pinctrl_pm_ops = { 526 526 SET_LATE_SYSTEM_SLEEP_PM_OPS(sky1_pinctrl_suspend, 527 527 sky1_pinctrl_resume) 528 528 }; 529 - EXPORT_SYMBOL_GPL(sky1_pinctrl_pm_ops); 530 529 531 530 static int sky1_pinctrl_probe(struct platform_device *pdev) 532 531 {