summaryrefslogtreecommitdiffstats
path: root/arch/unicore32/kernel/puv3-nb0916.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/unicore32/kernel/puv3-nb0916.c')
-rw-r--r--arch/unicore32/kernel/puv3-nb0916.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/unicore32/kernel/puv3-nb0916.c b/arch/unicore32/kernel/puv3-nb0916.c
index a78e60420653..e731c561ed4e 100644
--- a/arch/unicore32/kernel/puv3-nb0916.c
+++ b/arch/unicore32/kernel/puv3-nb0916.c
@@ -39,8 +39,8 @@ static struct resource physmap_flash_resource = {
static struct resource puv3_i2c_resources[] = {
[0] = {
- .start = PKUNITY_I2C_BASE,
- .end = PKUNITY_I2C_BASE + 0xff,
+ .start = io_v2p(PKUNITY_I2C_BASE),
+ .end = io_v2p(PKUNITY_I2C_BASE) + 0xff,
.flags = IORESOURCE_MEM,
},
[1] = {