Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: arch/arm/mach-pxa/corgi.c arch/arm/mach-pxa/poodle.c arch/arm/mach-pxa/spitz.c
This commit is contained in:
@@ -408,7 +408,7 @@ config MTD_NAND_FSL_UPM
|
||||
|
||||
config MTD_NAND_MXC
|
||||
tristate "MXC NAND support"
|
||||
depends on ARCH_MX2
|
||||
depends on ARCH_MX2 || ARCH_MX3
|
||||
help
|
||||
This enables the driver for the NAND flash controller on the
|
||||
MXC processors.
|
||||
|
@@ -20,8 +20,8 @@
|
||||
#include <linux/mtd/partitions.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/irq.h>
|
||||
#include <asm/dma.h>
|
||||
|
||||
#include <mach/dma.h>
|
||||
#include <mach/pxa-regs.h>
|
||||
#include <mach/pxa3xx_nand.h>
|
||||
|
||||
@@ -1080,7 +1080,7 @@ static int pxa3xx_nand_probe(struct platform_device *pdev)
|
||||
this = &info->nand_chip;
|
||||
mtd->priv = info;
|
||||
|
||||
info->clk = clk_get(&pdev->dev, "NANDCLK");
|
||||
info->clk = clk_get(&pdev->dev, NULL);
|
||||
if (IS_ERR(info->clk)) {
|
||||
dev_err(&pdev->dev, "failed to get nand clock\n");
|
||||
ret = PTR_ERR(info->clk);
|
||||
|
@@ -45,8 +45,8 @@
|
||||
|
||||
#include <asm/io.h>
|
||||
|
||||
#include <asm/plat-s3c/regs-nand.h>
|
||||
#include <asm/plat-s3c/nand.h>
|
||||
#include <plat/regs-nand.h>
|
||||
#include <plat/nand.h>
|
||||
|
||||
#ifdef CONFIG_MTD_NAND_S3C2410_HWECC
|
||||
static int hardware_ecc = 1;
|
||||
@@ -818,7 +818,7 @@ static int s3c24xx_nand_probe(struct platform_device *pdev,
|
||||
goto exit_error;
|
||||
}
|
||||
|
||||
memzero(info, sizeof(*info));
|
||||
memset(info, 0, sizeof(*info));
|
||||
platform_set_drvdata(pdev, info);
|
||||
|
||||
spin_lock_init(&info->controller.lock);
|
||||
@@ -883,7 +883,7 @@ static int s3c24xx_nand_probe(struct platform_device *pdev,
|
||||
goto exit_error;
|
||||
}
|
||||
|
||||
memzero(info->mtds, size);
|
||||
memset(info->mtds, 0, size);
|
||||
|
||||
/* initialise all possible chips */
|
||||
|
||||
|
Reference in New Issue
Block a user