summaryrefslogtreecommitdiffstats
path: root/target/linux/mpc83xx/patches-2.6.36/037-rbppc_fix.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-10-25 17:59:14 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-10-25 17:59:14 +0000
commite8e1084654f50904e6bf77b70b2de3f137d7b3ec (patch)
tree8333c5767087ec49b473467a4ca747fd31f574fd /target/linux/mpc83xx/patches-2.6.36/037-rbppc_fix.patch
parent0ee31ca22e253b027abd71d683e6f85350c6e2a9 (diff)
downloadmaster-31e0f0ae-e8e1084654f50904e6bf77b70b2de3f137d7b3ec.tar.gz
master-31e0f0ae-e8e1084654f50904e6bf77b70b2de3f137d7b3ec.tar.bz2
master-31e0f0ae-e8e1084654f50904e6bf77b70b2de3f137d7b3ec.zip
linux/mpc83xx: add preliminary 2.6.36 kernel support
SVN-Revision: 23633
Diffstat (limited to 'target/linux/mpc83xx/patches-2.6.36/037-rbppc_fix.patch')
-rw-r--r--target/linux/mpc83xx/patches-2.6.36/037-rbppc_fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/mpc83xx/patches-2.6.36/037-rbppc_fix.patch b/target/linux/mpc83xx/patches-2.6.36/037-rbppc_fix.patch
new file mode 100644
index 0000000000..9e7f915333
--- /dev/null
+++ b/target/linux/mpc83xx/patches-2.6.36/037-rbppc_fix.patch
@@ -0,0 +1,22 @@
+--- a/drivers/mtd/nand/rbppc_nand.c
++++ b/drivers/mtd/nand/rbppc_nand.c
+@@ -14,8 +14,8 @@
+ #include <linux/mtd/mtd.h>
+ #include <linux/mtd/partitions.h>
+ #include <linux/of_platform.h>
+-#include <asm/of_platform.h>
+-#include <asm/of_device.h>
++#include <linux/of_device.h>
++#include <linux/slab.h>
+ #include <linux/delay.h>
+ #include <asm/io.h>
+
+@@ -116,7 +116,7 @@ static void rbppc_nand_read_buf(struct m
+
+ static unsigned init_ok = 0;
+
+-static int rbppc_nand_probe(struct of_device *pdev,
++static int rbppc_nand_probe(struct platform_device *pdev,
+ const struct of_device_id *match)
+ {
+ struct device_node *gpio;