pinctrl: ssbi: fix function name typo
Subsystems (5)
PATCH 1/1 pinctrl: ssbi: fix function name typo
The two newly added qcom ssbi pinctrl drivers have the same bug from a function name that apparently got changed in one place but not another, resulting in a build error when CONFIG_DEBUG_FS is disabled:
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:652:14: error: 'pm8xxx_mpp_dbg_show' undeclared here (not in a function)
This fixes the two identifiers.
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c +1 -1
@@ -584,7 +584,7 @@ static void pm8xxx_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip) }#else -#define msm_gpio_dbg_show NULL +#define pm8xxx_gpio_dbg_show NULL#endif static struct gpio_chip pm8xxx_gpio_template = {
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c +1 -1
@@ -639,7 +639,7 @@ static void pm8xxx_mpp_dbg_show(struct seq_file *s, struct gpio_chip *chip) }#else -#define msm_mpp_dbg_show NULL +#define pm8xxx_mpp_dbg_show NULL#endif static struct gpio_chip pm8xxx_mpp_template = {
PATCH 1/1 pinctrl: ssbi: fix function name typo
Quoted 8 lines · Arnd Bergmann
The two newly added qcom ssbi pinctrl drivers have the same bug from a function name that apparently got changed in one place but not another, resulting in a build error when
CONFIG_DEBUG_FSis disabled:
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:652:14: error: 'pm8xxx_mpp_dbg_show' undeclared here (not in a function)This fixes the two identifiers.
Sorry about this Arnd.
Jonas Gorski found this a few days ago and Linus picked it up today, so it's in the pipe already.
Regards,
Bjorn