|
@@ -313,7 +313,7 @@ static void __init mmp2_clk_init(struct device_node *np)
|
|
}
|
|
}
|
|
|
|
|
|
pxa_unit->apmu_base = of_iomap(np, 1);
|
|
pxa_unit->apmu_base = of_iomap(np, 1);
|
|
- if (!pxa_unit->mpmu_base) {
|
|
|
|
|
|
+ if (!pxa_unit->apmu_base) {
|
|
pr_err("failed to map apmu registers\n");
|
|
pr_err("failed to map apmu registers\n");
|
|
return;
|
|
return;
|
|
}
|
|
}
|