Skip to content

Commit

Permalink
sunxi: fix typo in refactored sw_core_fixup()
Browse files Browse the repository at this point in the history
closes #84
  • Loading branch information
amery committed Oct 12, 2012
1 parent 548fabc commit 291aa80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-sun4i/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static void __init sw_core_fixup(struct machine_desc *desc,
if (size < 512) {
pr_err("MALI: not enough memory to make reserve.\n");
/* fallback to single bank will full size */
else {
} else {
mi->nr_banks = 1;
mi->bank[0].start = 0x40000000;
mi->bank[0].size = SZ_1M * (512 - 64);
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-sun5i/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static void __init sw_core_fixup(struct machine_desc *desc,
if (size < 512) {
pr_err("MALI: not enough memory to make reserve.\n");
/* fallback to single bank will full size */
else {
} else {
mi->nr_banks = 1;
mi->bank[0].start = 0x40000000;
mi->bank[0].size = SZ_1M * (512 - 64);
Expand Down

0 comments on commit 291aa80

Please sign in to comment.