Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33318
b: refs/heads/master
c: 4c756f4
h: refs/heads/master
v: v3
  • Loading branch information
Martin Michlmayr authored and Russell King committed Aug 6, 2006
1 parent fad7c21 commit f2632c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b39239330858bc99b4d529923ec58e95ff6103f8
refs/heads/master: 4c756f4e954186630f6ee91a4da9a4b39fe3618d
7 changes: 2 additions & 5 deletions trunk/arch/arm/mach-ixp4xx/gtwx5715-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ static struct flash_platform_data gtwx5715_flash_data = {
.width = 2,
};

static struct gtw5715_flash_resource = {
static struct resource gtwx5715_flash_resource = {
.flags = IORESOURCE_MEM,
}
};

static struct platform_device gtwx5715_flash = {
.name = "IXP4XX-Flash",
Expand All @@ -130,9 +130,6 @@ static void __init gtwx5715_init(void)
{
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;

Expand Down

0 comments on commit f2632c8

Please sign in to comment.