]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
pinctrl: cix: sky1: Unexport sky1_pinctrl_pm_ops
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Mon, 16 Feb 2026 08:58:40 +0000 (09:58 +0100)
committerLinus Walleij <linusw@kernel.org>
Tue, 24 Feb 2026 09:51:29 +0000 (10:51 +0100)
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>
drivers/pinctrl/cix/pinctrl-sky1.c

index 5d0d8be815b2bacb0c9cd6fe99d6b8eac2667735..938894058d86668772c955d119d457058be35609 100644 (file)
@@ -522,11 +522,10 @@ static int __maybe_unused sky1_pinctrl_resume(struct device *dev)
        return pinctrl_force_default(spctl->pctl);
 }
 
-const struct dev_pm_ops sky1_pinctrl_pm_ops = {
+static const struct dev_pm_ops sky1_pinctrl_pm_ops = {
        SET_LATE_SYSTEM_SLEEP_PM_OPS(sky1_pinctrl_suspend,
                                        sky1_pinctrl_resume)
 };
-EXPORT_SYMBOL_GPL(sky1_pinctrl_pm_ops);
 
 static int sky1_pinctrl_probe(struct platform_device *pdev)
 {