aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc83xx/patches-2.6.35/040-rbppc_nand-2.6.35.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-12-03 09:19:52 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-12-03 09:19:52 +0000
commit187359dc678d8c2c5d548eb758f6f36847013ebd (patch)
treead9624cc088051d9bfad40d11f9df28f6f571485 /target/linux/mpc83xx/patches-2.6.35/040-rbppc_nand-2.6.35.patch
parent7acaafb61b0d3de7f70f47b366babd2b1b7c28a2 (diff)
downloadupstream-187359dc678d8c2c5d548eb758f6f36847013ebd.tar.gz
upstream-187359dc678d8c2c5d548eb758f6f36847013ebd.tar.bz2
upstream-187359dc678d8c2c5d548eb758f6f36847013ebd.zip
remove unused kernel versions, make 2.6.36 the default
SVN-Revision: 24223
Diffstat (limited to 'target/linux/mpc83xx/patches-2.6.35/040-rbppc_nand-2.6.35.patch')
-rw-r--r--target/linux/mpc83xx/patches-2.6.35/040-rbppc_nand-2.6.35.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/target/linux/mpc83xx/patches-2.6.35/040-rbppc_nand-2.6.35.patch b/target/linux/mpc83xx/patches-2.6.35/040-rbppc_nand-2.6.35.patch
deleted file mode 100644
index 42ab236077..0000000000
--- a/target/linux/mpc83xx/patches-2.6.35/040-rbppc_nand-2.6.35.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- a/drivers/mtd/nand/rbppc_nand.c
-+++ b/drivers/mtd/nand/rbppc_nand.c
-@@ -130,10 +130,10 @@ static int rbppc_nand_probe(struct of_de
-
- info = kmalloc(sizeof(*info), GFP_KERNEL);
-
-- rdy = of_get_property(pdev->node, "rdy", NULL);
-- nce = of_get_property(pdev->node, "nce", NULL);
-- cle = of_get_property(pdev->node, "cle", NULL);
-- ale = of_get_property(pdev->node, "ale", NULL);
-+ rdy = of_get_property(pdev->dev.of_node, "rdy", NULL);
-+ nce = of_get_property(pdev->dev.of_node, "nce", NULL);
-+ cle = of_get_property(pdev->dev.of_node, "cle", NULL);
-+ ale = of_get_property(pdev->dev.of_node, "ale", NULL);
-
- if (!rdy || !nce || !cle || !ale) {
- printk(KERN_ERR "rbppc_nand_probe: GPIO properties are missing\n");
-@@ -180,7 +180,7 @@ static int rbppc_nand_probe(struct of_de
- of_node_put(nnand);
- info->localbus = ioremap_nocache(res.start, res.end - res.start + 1);
-
-- if (of_address_to_resource(pdev->node, 0, &res)) {
-+ if (of_address_to_resource(pdev->dev.of_node, 0, &res)) {
- printk("rbppc_nand_probe: No reg property found\n");
- goto err;
- }
-@@ -222,12 +222,11 @@ static struct of_device_id rbppc_nand_id
- };
-
- static struct of_platform_driver rbppc_nand_driver = {
-- .name = "nand",
- .probe = rbppc_nand_probe,
-- .match_table = rbppc_nand_ids,
- .driver = {
- .name = "rbppc-nand",
- .owner = THIS_MODULE,
-+ .of_match_table = rbppc_nand_ids,
- },
- };
-