aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlof Johansson2012-05-19 08:00:41 -0700
committerOlof Johansson2012-05-19 08:00:41 -0700
commitf3f08dcb9965f42378851ce888fb7539607712e6 (patch)
tree9fd6f0060757ca354c97d69a1719ba2f4d7c3953
parentcbd8d842319c8084c050292e7d167be2a4cf1ad9 (diff)
parent3e48b1baa042a4d5e92f373fc945a4aa0081178b (diff)
Merge branch 'imx/pinctrl' into next/pinctrl
* imx/pinctrl: mtd: nand: gpmi: fix compile error caused by pinctrl call
-rw-r--r--drivers/mtd/nand/gpmi-nand/gpmi-nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
index 8478fd9701a3..b68e04310bd8 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
@@ -496,7 +496,7 @@ static int __devinit acquire_resources(struct gpmi_nand_data *this)
if (ret)
goto exit_dma_channels;
- pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
+ pinctrl = devm_pinctrl_get_select_default(&this->pdev->dev);
if (IS_ERR(pinctrl)) {
ret = PTR_ERR(pinctrl);
goto exit_pin;