git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
arch
/
arm
/
mach-ixp4xx
/
ixdp425-setup.c
diff --git
a/arch/arm/mach-ixp4xx/ixdp425-setup.c
b/arch/arm/mach-ixp4xx/ixdp425-setup.c
index
dbcaa46
..
ec289c8
100644
(file)
--- a/
arch/arm/mach-ixp4xx/ixdp425-setup.c
+++ b/
arch/arm/mach-ixp4xx/ixdp425-setup.c
@@
-77,7
+77,7
@@
static struct resource ixdp425_flash_resource = {
.flags = IORESOURCE_MEM,
};
.flags = IORESOURCE_MEM,
};
-static struct platform_device ixdp425_flash = {
+static struct platform_device ixdp425_flash
_device
= {
.name = "IXP4XX-Flash",
.id = 0,
.dev = {
.name = "IXP4XX-Flash",
.id = 0,
.dev = {
@@
-101,14
+101,10
@@
static struct platform_device ixdp425_i2c_controller = {
.num_resources = 0
};
.num_resources = 0
};
-static struct platform_device *ixdp425_devices[] __initdata = {
- &ixdp425_i2c_controller,
- &ixdp425_flash
-};
-
static void __init ixdp425_init(void)
{
static void __init ixdp425_init(void)
{
- platform_add_devices(&ixdp425_devices, ARRAY_SIZE(ixdp425_devices));
+ platform_add_device(&ixdp425_flash_device);
+ platform_add_device(&ixdp425_i2c_controller);
}
MACHINE_START(IXDP425, "Intel IXDP425 Development Platform")
}
MACHINE_START(IXDP425, "Intel IXDP425 Development Platform")