Merge git://git.infradead.org/battery-2.6
[pandora-kernel.git] / arch / arm / mach-orion5x / addr-map.c
index 6f3f77d..d78731e 100644 (file)
@@ -200,6 +200,6 @@ void __init orion5x_setup_pcie_wa_win(u32 base, u32 size)
 
 int __init orion5x_setup_sram_win(void)
 {
-       return setup_cpu_win(win_alloc_count, ORION5X_SRAM_PHYS_BASE,
+       return setup_cpu_win(win_alloc_count++, ORION5X_SRAM_PHYS_BASE,
                        ORION5X_SRAM_SIZE, TARGET_SRAM, ATTR_SRAM, -1);
 }