Commit 77aec999 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] EMMA 2 / Markeins: struct resource takes physical addresses.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 4aad7b72
......@@ -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
},
};
......@@ -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
},
};
......@@ -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
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment