summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rdc321x-southbridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/rdc321x-southbridge.c')
-rw-r--r--drivers/mfd/rdc321x-southbridge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/rdc321x-southbridge.c b/drivers/mfd/rdc321x-southbridge.c
index 256dd560bd48..50922975bda3 100644
--- a/drivers/mfd/rdc321x-southbridge.c
+++ b/drivers/mfd/rdc321x-southbridge.c
@@ -34,7 +34,7 @@ static struct resource rdc321x_wdt_resource[] = {
.name = "wdt-reg",
.start = RDC321X_WDT_CTRL,
.end = RDC321X_WDT_CTRL + 0x3,
- .flags = IORESOURCE_MEM,
+ .flags = IORESOURCE_IO,
}
};
@@ -47,12 +47,12 @@ static struct resource rdc321x_gpio_resources[] = {
.name = "gpio-reg1",
.start = RDC321X_GPIO_CTRL_REG1,
.end = RDC321X_GPIO_CTRL_REG1 + 0x7,
- .flags = IORESOURCE_MEM,
+ .flags = IORESOURCE_IO,
}, {
.name = "gpio-reg2",
.start = RDC321X_GPIO_CTRL_REG2,
.end = RDC321X_GPIO_CTRL_REG2 + 0x7,
- .flags = IORESOURCE_MEM,
+ .flags = IORESOURCE_IO,
}
};