ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
[openwrt.git] / target / linux / mpc83xx / patches-2.6.36 / 037-rbppc_fix.patch
1 --- a/drivers/mtd/nand/rbppc_nand.c
2 +++ b/drivers/mtd/nand/rbppc_nand.c
3 @@ -14,8 +14,8 @@
4 #include <linux/mtd/mtd.h>
5 #include <linux/mtd/partitions.h>
6 #include <linux/of_platform.h>
7 -#include <asm/of_platform.h>
8 -#include <asm/of_device.h>
9 +#include <linux/of_device.h>
10 +#include <linux/slab.h>
11 #include <linux/delay.h>
12 #include <asm/io.h>
13
14 @@ -116,7 +116,7 @@ static void rbppc_nand_read_buf(struct m
15
16 static unsigned init_ok = 0;
17
18 -static int rbppc_nand_probe(struct of_device *pdev,
19 +static int rbppc_nand_probe(struct platform_device *pdev,
20 const struct of_device_id *match)
21 {
22 struct device_node *gpio;
This page took 0.046095 seconds and 5 git commands to generate.