aboutsummaryrefslogtreecommitdiff
path: root/drivers/sfi/sfi_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sfi/sfi_core.c')
-rw-r--r--drivers/sfi/sfi_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sfi/sfi_core.c b/drivers/sfi/sfi_core.c
index ceba593dc84..1e824fb1649 100644
--- a/drivers/sfi/sfi_core.c
+++ b/drivers/sfi/sfi_core.c
@@ -101,7 +101,7 @@ static void __iomem * __ref sfi_map_memory(u64 phys, u32 size)
return NULL;
if (sfi_use_ioremap)
- return ioremap(phys, size);
+ return ioremap_cache(phys, size);
else
return early_ioremap(phys, size);
}
@@ -515,7 +515,7 @@ void __init sfi_init_late(void)
}
/*
- * The reason we put it here becasue we need wait till the /sys/firmware
+ * The reason we put it here because we need wait till the /sys/firmware
* is setup, then our interface can be registered in /sys/firmware/sfi
*/
core_initcall(sfi_sysfs_init);