Skip to content

Commit

Permalink
[MIPS] EMMA 2 / Markeins: struct resource takes physical addresses.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 30, 2006
1 parent 4aad7b7 commit 77aec99
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/mips/emma2rh/markeins/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ static struct resource i2c_emma_resources_0[] = {
.flags = IORESOURCE_IRQ
}, {
.name = NULL,
.start = KSEG1ADDR(EMMA2RH_PIIC0_BASE),
.end = KSEG1ADDR(EMMA2RH_PIIC0_BASE + 0x1000),
.start = EMMA2RH_PIIC0_BASE,
.end = EMMA2RH_PIIC0_BASE + 0x1000,
.flags = 0
},
};
Expand All @@ -65,8 +65,8 @@ struct resource i2c_emma_resources_1[] = {
.flags = IORESOURCE_IRQ
}, {
.name = NULL,
.start = KSEG1ADDR(EMMA2RH_PIIC1_BASE),
.end = KSEG1ADDR(EMMA2RH_PIIC1_BASE + 0x1000),
.start = EMMA2RH_PIIC1_BASE,
.end = EMMA2RH_PIIC1_BASE + 0x1000,
.flags = 0
},
};
Expand All @@ -79,8 +79,8 @@ struct resource i2c_emma_resources_2[] = {
.flags = IORESOURCE_IRQ
}, {
.name = NULL,
.start = KSEG1ADDR(EMMA2RH_PIIC2_BASE),
.end = KSEG1ADDR(EMMA2RH_PIIC2_BASE + 0x1000),
.start = EMMA2RH_PIIC2_BASE,
.end = EMMA2RH_PIIC2_BASE + 0x1000,
.flags = 0
},
};
Expand Down

0 comments on commit 77aec99

Please sign in to comment.