summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-08-20 08:01:03 +0200
committerArnd Bergmann <arnd@arndb.de>2012-08-20 08:01:03 +0200
commit5cbee140a28c2746449ae31e85738043ae4da927 (patch)
tree5bc12e0ee64d71544a0f90d2a63a0c8acd8d2014 /drivers
parent71f8e5b260e17a428dd7513c7d1e01777b69139b (diff)
parente6c509c8ef85155bf504254399d758384a3b2e38 (diff)
downloadop-kernel-dev-5cbee140a28c2746449ae31e85738043ae4da927.zip
op-kernel-dev-5cbee140a28c2746449ae31e85738043ae4da927.tar.gz
Merge branch 'dt' of git://github.com/hzhuang1/linux into next/dt
From Haojian Zhuang <haojian.zhuang@gmail.com>: Three more patches for the pxa/dt branch. Since they're depending on existing patch on pxa/dt branch, I didn't do rebase on v3.6-rc2 * 'dt' of git://github.com/hzhuang1/linux: ARM: pxa: fix build issue while CONFIG_OF is disabled mtd: nand: append missing parameter and value ARM: pxa: append the definition of CKENC Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/pxa3xx_nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index b0319d8..d944d6e 100644
--- a/drivers/mtd/nand/pxa3xx_nand.c
+++ b/drivers/mtd/nand/pxa3xx_nand.c
@@ -1034,7 +1034,7 @@ static int alloc_nand_resource(struct platform_device *pdev)
struct pxa3xx_nand_platform_data *pdata;
struct pxa3xx_nand_info *info;
struct pxa3xx_nand_host *host;
- struct nand_chip *chip;
+ struct nand_chip *chip = NULL;
struct mtd_info *mtd;
struct resource *r;
int ret, irq, cs;
@@ -1244,7 +1244,7 @@ static int pxa3xx_nand_probe_dt(struct platform_device *pdev)
return 0;
}
#else
-static inline int pxa3xx_nand_probe_dt(struct platform_device *)
+static inline int pxa3xx_nand_probe_dt(struct platform_device *pdev)
{
return 0;
}
OpenPOWER on IntegriCloud