Skip to content

Commit 8507f35

Browse files
Min-HuaBartosz Golaszewski
authored andcommitted
gpio: davinci: make davinci_gpio_dev_pm_ops static
This patch fixes the following sprse warnings: drivers/gpio/gpio-davinci.c:695:1: sparse: warning: symbol 'davinci_gpio_dev_pm_ops' was not declared. Should it be static? No functional change intended. Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
1 parent b0ce9ce commit 8507f35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpio/gpio-davinci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ static int davinci_gpio_resume(struct device *dev)
692692
return 0;
693693
}
694694

695-
DEFINE_SIMPLE_DEV_PM_OPS(davinci_gpio_dev_pm_ops, davinci_gpio_suspend,
695+
static DEFINE_SIMPLE_DEV_PM_OPS(davinci_gpio_dev_pm_ops, davinci_gpio_suspend,
696696
davinci_gpio_resume);
697697

698698
static const struct of_device_id davinci_gpio_ids[] = {

0 commit comments

Comments
 (0)