]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/lib_powerpc/andi.c
merged current version of git://git.denx.de/u-boot
[karo-tx-uboot.git] / post / lib_powerpc / andi.c
index 52ec7c4d4e919c384bd3b62e3a9636d3399d34e2..2791cd73b1033a0567fccc21f3b8b7fdc83406a9 100644 (file)
@@ -61,8 +61,7 @@ static struct cpu_post_andi_s
        0x80000000
     },
 };
-static unsigned int cpu_post_andi_size =
-    sizeof (cpu_post_andi_table) / sizeof (struct cpu_post_andi_s);
+static unsigned int cpu_post_andi_size = ARRAY_SIZE(cpu_post_andi_table);
 
 int cpu_post_test_andi (void)
 {