mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
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>
This commit is contained in:
parent
a48150d051
commit
c2e174994c
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue