Browse Source

Merge branch 'imx/pinctrl' into next/pinctrl

* imx/pinctrl:
  mtd: nand: gpmi: fix compile error caused by pinctrl call
Olof Johansson 13 years ago
parent
commit
f3f08dcb99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/nand/gpmi-nand/gpmi-nand.c

+ 1 - 1
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;