projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.infradead.org/mtd-2.6
[cascardo/linux.git]
/
arch
/
arm
/
mach-bcmring
/
arch.c
diff --git
a/arch/arm/mach-bcmring/arch.c
b/arch/arm/mach-bcmring/arch.c
index
fbe6fa0
..
53dd2a9
100644
(file)
--- a/
arch/arm/mach-bcmring/arch.c
+++ b/
arch/arm/mach-bcmring/arch.c
@@
-70,9
+70,19
@@
static struct ctl_table bcmring_sysctl_reboot[] = {
{}
};
{}
};
+static struct resource nand_resource[] = {
+ [0] = {
+ .start = MM_ADDR_IO_NAND,
+ .end = MM_ADDR_IO_NAND + 0x1000 - 1,
+ .flags = IORESOURCE_MEM,
+ },
+};
+
static struct platform_device nand_device = {
.name = "bcm-nand",
.id = -1,
static struct platform_device nand_device = {
.name = "bcm-nand",
.id = -1,
+ .resource = nand_resource,
+ .num_resources = ARRAY_SIZE(nand_resource),
};
static struct platform_device *devices[] __initdata = {
};
static struct platform_device *devices[] __initdata = {