]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/lib_powerpc/twox.c
Merge branch 'master' of /home/wd/git/u-boot/custodians
[karo-tx-uboot.git] / post / lib_powerpc / twox.c
index d6714f9861c18998c642f92f47967faccce71c7a..88140bf2f5082511c5eb046782728e4952185927 100644 (file)
@@ -81,8 +81,7 @@ static struct cpu_post_twox_s
        12
     },
 };
-static unsigned int cpu_post_twox_size =
-    sizeof (cpu_post_twox_table) / sizeof (struct cpu_post_twox_s);
+static unsigned int cpu_post_twox_size = ARRAY_SIZE(cpu_post_twox_table);
 
 int cpu_post_test_twox (void)
 {