mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-21 05:14:52 +08:00
[MIPS] EMMA 2 / Markeins: struct resource takes physical addresses.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
4aad7b7269
commit
77aec99906
@ -51,8 +51,8 @@ static struct resource i2c_emma_resources_0[] = {
|
|||||||
.flags = IORESOURCE_IRQ
|
.flags = IORESOURCE_IRQ
|
||||||
}, {
|
}, {
|
||||||
.name = NULL,
|
.name = NULL,
|
||||||
.start = KSEG1ADDR(EMMA2RH_PIIC0_BASE),
|
.start = EMMA2RH_PIIC0_BASE,
|
||||||
.end = KSEG1ADDR(EMMA2RH_PIIC0_BASE + 0x1000),
|
.end = EMMA2RH_PIIC0_BASE + 0x1000,
|
||||||
.flags = 0
|
.flags = 0
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -65,8 +65,8 @@ struct resource i2c_emma_resources_1[] = {
|
|||||||
.flags = IORESOURCE_IRQ
|
.flags = IORESOURCE_IRQ
|
||||||
}, {
|
}, {
|
||||||
.name = NULL,
|
.name = NULL,
|
||||||
.start = KSEG1ADDR(EMMA2RH_PIIC1_BASE),
|
.start = EMMA2RH_PIIC1_BASE,
|
||||||
.end = KSEG1ADDR(EMMA2RH_PIIC1_BASE + 0x1000),
|
.end = EMMA2RH_PIIC1_BASE + 0x1000,
|
||||||
.flags = 0
|
.flags = 0
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -79,8 +79,8 @@ struct resource i2c_emma_resources_2[] = {
|
|||||||
.flags = IORESOURCE_IRQ
|
.flags = IORESOURCE_IRQ
|
||||||
}, {
|
}, {
|
||||||
.name = NULL,
|
.name = NULL,
|
||||||
.start = KSEG1ADDR(EMMA2RH_PIIC2_BASE),
|
.start = EMMA2RH_PIIC2_BASE,
|
||||||
.end = KSEG1ADDR(EMMA2RH_PIIC2_BASE + 0x1000),
|
.end = EMMA2RH_PIIC2_BASE + 0x1000,
|
||||||
.flags = 0
|
.flags = 0
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user