summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.26/mpc8313e-rdb/mpc831x-nand.patch
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2008-11-21 16:41:36 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2008-11-21 16:41:36 +0100
commit2c5600a1bdd56ab95e3aee010589dfb6fa7ad533 (patch)
tree0d4f32e803a7283c5fe5a76d781a636ab729028f /packages/linux/linux-2.6.26/mpc8313e-rdb/mpc831x-nand.patch
parenta9f20eab04d451b7dbb5d5881469ee40673420df (diff)
linux-2.6.26: add stub for boc01 machine
Diffstat (limited to 'packages/linux/linux-2.6.26/mpc8313e-rdb/mpc831x-nand.patch')
-rw-r--r--packages/linux/linux-2.6.26/mpc8313e-rdb/mpc831x-nand.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/packages/linux/linux-2.6.26/mpc8313e-rdb/mpc831x-nand.patch b/packages/linux/linux-2.6.26/mpc8313e-rdb/mpc831x-nand.patch
deleted file mode 100644
index 23520cbdb7..0000000000
--- a/packages/linux/linux-2.6.26/mpc8313e-rdb/mpc831x-nand.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c
-index b025dfe..9c86d9b 100644
---- a/drivers/mtd/nand/fsl_elbc_nand.c
-+++ b/drivers/mtd/nand/fsl_elbc_nand.c
-@@ -974,6 +974,8 @@ static int fsl_elbc_chip_remove(struct fsl_elbc_mtd *priv)
-
- nand_release(&priv->mtd);
-
-+ kfree(priv->mtd.name);
-+
- if (priv->vbase)
- iounmap(priv->vbase);
-
-@@ -1034,6 +1036,12 @@ static int fsl_elbc_chip_probe(struct fsl_elbc_ctrl *ctrl,
- goto err;
- }
-
-+ priv->mtd.name = kasprintf(GFP_KERNEL, "%x.flash", res.start);
-+ if (!priv->mtd.name) {
-+ ret = -ENOMEM;
-+ goto err;
-+ }
-+
- ret = fsl_elbc_chip_init(priv);
- if (ret)
- goto err;
-