[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1338261278-17962-1-git-send-email-festevam@gmail.com>
Date: Tue, 29 May 2012 00:14:38 -0300
From: Fabio Estevam <festevam@...il.com>
To: linus.walleij@...aro.org
Cc: shawn.guo@...aro.org, kernel@...gutronix.de,
linux-kernel@...r.kernel.org,
Fabio Estevam <fabio.estevam@...escale.com>
Subject: [PATCH] drivers: pinctrl: Remove redefinition of 'pinctrl_provide_dummies'
From: Fabio Estevam <fabio.estevam@...escale.com>
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@...escale.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists