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
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
arm
/
mach-ixp4xx
/
gtwx5715-setup.c
diff --git
a/arch/arm/mach-ixp4xx/gtwx5715-setup.c
b/arch/arm/mach-ixp4xx/gtwx5715-setup.c
index
654e2ee
..
30f1300
100644
(file)
--- a/
arch/arm/mach-ixp4xx/gtwx5715-setup.c
+++ b/
arch/arm/mach-ixp4xx/gtwx5715-setup.c
@@
-107,9
+107,9
@@
static struct flash_platform_data gtwx5715_flash_data = {
.width = 2,
};
.width = 2,
};
-static struct
gtw
5715_flash_resource = {
+static struct
resource gtwx
5715_flash_resource = {
.flags = IORESOURCE_MEM,
.flags = IORESOURCE_MEM,
-}
+}
;
static struct platform_device gtwx5715_flash = {
.name = "IXP4XX-Flash",
static struct platform_device gtwx5715_flash = {
.name = "IXP4XX-Flash",
@@
-130,9
+130,6
@@
static void __init gtwx5715_init(void)
{
ixp4xx_sys_init();
{
ixp4xx_sys_init();
- if (!flash_resource)
- printk(KERN_ERR "Could not allocate flash resource\n");
-
gtwx5715_flash_resource.start = IXP4XX_EXP_BUS_BASE(0);
gtwx5715_flash_resource.end = IXP4XX_EXP_BUS_BASE(0) + SZ_8M - 1;
gtwx5715_flash_resource.start = IXP4XX_EXP_BUS_BASE(0);
gtwx5715_flash_resource.end = IXP4XX_EXP_BUS_BASE(0) + SZ_8M - 1;