mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
linux/mpc83xx: add preliminary 2.6.36 kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23633 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
22
target/linux/mpc83xx/patches-2.6.36/037-rbppc_fix.patch
Normal file
22
target/linux/mpc83xx/patches-2.6.36/037-rbppc_fix.patch
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user