summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-09-12 13:58:18 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-09-12 13:58:18 +0200
commit1aab2f9d399ddfb74951654a8598a299de5bdb8c (patch)
tree8c0cecb5430145f51cafb1becf3f9dc0148a1b47 /drivers/pinctrl
parentpinctrl: bcm: remove redundant assignment to pointer log (diff)
parentpinctrl: intel: mark intel_pin_to_gpio __maybe_unused (diff)
downloadlinux-1aab2f9d399ddfb74951654a8598a299de5bdb8c.tar.xz
linux-1aab2f9d399ddfb74951654a8598a299de5bdb8c.zip
Merge tag 'intel-pinctrl-v5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/intel into devel
intel-pinctrl for v5.4 part 2 Just a single fix for build warning introduced in the previous pull.
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/intel/pinctrl-intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-intel.c b/drivers/pinctrl/intel/pinctrl-intel.c
index d66fe2b4221b..1f13bcd0e4e1 100644
--- a/drivers/pinctrl/intel/pinctrl-intel.c
+++ b/drivers/pinctrl/intel/pinctrl-intel.c
@@ -838,7 +838,7 @@ static int intel_gpio_to_pin(struct intel_pinctrl *pctrl, unsigned int offset,
*
* Translate the pin number of pinctrl to GPIO offset
*/
-static int intel_pin_to_gpio(struct intel_pinctrl *pctrl, int pin)
+static __maybe_unused int intel_pin_to_gpio(struct intel_pinctrl *pctrl, int pin)
{
const struct intel_community *community;
const struct intel_padgroup *padgrp;