Skip to contentSkip to conversation

drivers: pinctrl: Remove redefinition of 'pinctrl_provide_dummies'

PATCH In review Fabio Estevam 2 participants 3 messages May 29, 2012 – Jun 5, 2012 Pin control

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: pinctrl: Remove redefinition of 'pinctrl_provide_dummies'

From: Fabio Estevam <[email protected]>

For mxs_defconfig and imx_v6_v7_defconfig targets, the following build error is observed:

drivers/pinctrl/core.c:87:6: error: redefinition of 'pinctrl_provide_dummies'

---
This applies against linux-next-20120528

 drivers/pinctrl/core.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
drivers/pinctrl/core.c +0 -13
index 4446a33..4e89097 100644
@@ -76,19 +76,6 @@ void pinctrl_provide_dummies(void)
 	pinctrl_dummy_state = true;
 }
 
-/**
- * pinctrl_provide_dummies() - indicate if pinctrl provides dummy state support
- *
- * Usually this function is called by platforms without pinctrl driver support
- * but run with some shared drivers using pinctrl APIs.
- * After calling this function, the pinctrl core will return successfully
- * with creating a dummy state for the driver to keep going smoothly.
- */
-void pinctrl_provide_dummies(void)
-{
-	pinctrl_dummy_state = true;
-}
-
 const char *pinctrl_dev_get_name(struct pinctrl_dev *pctldev)
 {
 	/* We're not allowed to register devices without name */
Signature · 1 line
1.7.1
#1 lore raw
Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

For mxs_defconfig and imx_v6_v7_defconfig targets, the following build error is observed:

drivers/pinctrl/core.c:87:6: error: redefinition of 'pinctrl_provide_dummies'

Shawn, have a look at this too...

Fabio, please use subject:
pinctrl: mxs: foo

Yours,
Linus Walleij

#2 lore raw

Linus,

Quoted 7 lines · Linus Walleij
Quoted 5 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

For mxs_defconfig and imx_v6_v7_defconfig targets, the following build error is observed:

Quoted 8 lines
Quoted 3 lines

drivers/pinctrl/core.c:87:6: error: redefinition of 'pinctrl_provide_dummies'

Shawn, have a look at this too...

Fabio, please use subject:
pinctrl: mxs: foo

This error does not show up in linux-next anymore, so please discard this patch.

Regards,

Fabio Estevam