rk: uboot_mem_reserve: lost a '=' in 'if' statement
authorCMY <cmy@rock-chips.com>
Mon, 2 Mar 2015 07:42:55 +0000 (15:42 +0800)
committerCMY <cmy@rock-chips.com>
Mon, 2 Mar 2015 07:42:55 +0000 (15:42 +0800)
arch/arm/mach-rockchip/common.c

index 96cf6c760eefbb6e27b602c202038e0590583dbc..eded0645795d5bfc9aa62d28ccb99bfd06a0896e 100755 (executable)
@@ -306,7 +306,7 @@ phys_addr_t uboot_logo_offset=0;
 
 void __init rockchip_uboot_mem_reserve(void)
 {
-       if (uboot_logo_size=0)
+       if (uboot_logo_size==0)
                return;
 
        if (!memblock_is_region_reserved(uboot_logo_base, uboot_logo_size)