summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sunxi/pinctrl-sunxi.c
diff options
context:
space:
mode:
authorMika Westerberg2015-10-13 16:51:26 +0200
committerLinus Walleij2015-10-16 22:54:33 +0200
commitec879f1272283c040bc70e1a1fff5edbb547be59 (patch)
treeebb97e03777cae174d5079727566a31cf43939fc /drivers/pinctrl/sunxi/pinctrl-sunxi.c
parentpinctrl: intel: Fix compilation warning when !CONFIG_PM_SLEEP (diff)
downloadkernel-qcow2-linux-ec879f1272283c040bc70e1a1fff5edbb547be59.tar.gz
kernel-qcow2-linux-ec879f1272283c040bc70e1a1fff5edbb547be59.tar.xz
kernel-qcow2-linux-ec879f1272283c040bc70e1a1fff5edbb547be59.zip
pinctrl: baytrail: Fix compilation warnings when !CONFIG_PM
When CONFIG_PM is not set we get following compilation warnings: warning: ‘byt_gpio_runtime_suspend’ defined but not used [-Wunused-function] warning: ‘byt_gpio_runtime_resume’ defined but not used [-Wunused-function] Fix this by guarding byt_gpio_runtime_suspend()/byt_gpio_runtime_resume() with #ifdef CONFIG_PM. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/pinctrl-sunxi.c')
0 files changed, 0 insertions, 0 deletions