[PATCH] dummies

From: Fabio Estevam
Date: Mon May 28 2012 - 23:13:22 EST


From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>

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'

Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
---
This applies against linux-next-20120528

drivers/pinctrl/core.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c
index 4446a33..4e89097 100644
--- a/drivers/pinctrl/core.c
+++ b/drivers/pinctrl/core.c
@@ -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 */
--
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/