diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-10-11 11:39:31 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-10-16 16:35:52 -0400 |
commit | 11091fb0a1227d569d09353e1ce1f88694a033dc (patch) | |
tree | b2f9d37244679b3fb7b85b73bb3c3e63bb20b093 /drivers/pinctrl/qcom | |
parent | 3fa508cd233da76eb00377440600f53eebfec08a (diff) |
pinctrl: qcom: ssbi: fix compilation with DEBUG_FS=n
The DEBUG_FS=n #defines for the dbg_show functions were missed when
renaming the driver from msm_ to pm8xxx_, causing it to break the build
when DEBUG_FS isn't enabled:
CC [M] drivers/pinctrl/qcom/pinctrl-ssbi-gpio.o
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:597:14: error: ‘pm8xxx_gpio_dbg_show’ undeclared here (not in a function)
.dbg_show = pm8xxx_gpio_dbg_show,
Fix this by renaming them correctly.
Fixes: b4c45fe974bc ("pinctrl: qcom: ssbi: Family A gpio & mpp drivers")
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/qcom')
-rw-r--r-- | drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c | 2 | ||||
-rw-r--r-- | drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c b/drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c index e1a3721bc8e5..d809c9eaa323 100644 --- a/drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c | |||
@@ -584,7 +584,7 @@ static void pm8xxx_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip) | |||
584 | } | 584 | } |
585 | 585 | ||
586 | #else | 586 | #else |
587 | #define msm_gpio_dbg_show NULL | 587 | #define pm8xxx_gpio_dbg_show NULL |
588 | #endif | 588 | #endif |
589 | 589 | ||
590 | static struct gpio_chip pm8xxx_gpio_template = { | 590 | static struct gpio_chip pm8xxx_gpio_template = { |
diff --git a/drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c b/drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c index 6652b8d7f707..8982027de8e8 100644 --- a/drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c +++ b/drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c | |||
@@ -639,7 +639,7 @@ static void pm8xxx_mpp_dbg_show(struct seq_file *s, struct gpio_chip *chip) | |||
639 | } | 639 | } |
640 | 640 | ||
641 | #else | 641 | #else |
642 | #define msm_mpp_dbg_show NULL | 642 | #define pm8xxx_mpp_dbg_show NULL |
643 | #endif | 643 | #endif |
644 | 644 | ||
645 | static struct gpio_chip pm8xxx_mpp_template = { | 645 | static struct gpio_chip pm8xxx_mpp_template = { |