]> err.no Git - linux-2.6/commitdiff
[MIPS] EMMA 2 / Markeins: struct resource takes physical addresses.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 30 Oct 2006 14:59:54 +0000 (14:59 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 30 Oct 2006 21:41:30 +0000 (21:41 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/emma2rh/markeins/platform.c

index be13cecfc06f542fbd233cdbf819342092e0becd..11567702b155460a84adcbf9b08bca3c6c280a97 100644 (file)
@@ -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
        },
 };