projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: adds hotplug handler for handling buttons and makes w303v work with it
[openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
drivers
/
mtd
/
nand
/
rb750_nand.c
diff --git
a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c
b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c
index
a80e5df
..
07bf8e1
100644
(file)
--- a/
target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c
+++ b/
target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c
@@
-14,6
+14,7
@@
#include <linux/mtd/partitions.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/mtd/partitions.h>
#include <linux/platform_device.h>
#include <linux/io.h>
+#include <linux/slab.h>
#include <asm/mach-ar71xx/ar71xx.h>
#include <asm/mach-ar71xx/mach-rb750.h>
#include <asm/mach-ar71xx/ar71xx.h>
#include <asm/mach-ar71xx/mach-rb750.h>
@@
-312,11
+313,11
@@
static int __init rb750_nand_probe(struct platform_device *pdev)
return 0;
return 0;
-
err_release_nand:
+err_release_nand:
nand_release(&info->mtd);
nand_release(&info->mtd);
-
err_set_drvdata:
+err_set_drvdata:
platform_set_drvdata(pdev, NULL);
platform_set_drvdata(pdev, NULL);
-
err_free_info:
+err_free_info:
kfree(info);
return ret;
}
kfree(info);
return ret;
}
This page took
0.022194 seconds
and
4
git commands to generate.