]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/cpu/mpc8260/cpu_init.c
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[u-boot] / arch / powerpc / cpu / mpc8260 / cpu_init.c
index a9bb5adeb2095493613da12c449218167279df65..55130f7831ef7ff7a4b5a2aa35c40fbce6918b90 100644 (file)
@@ -253,7 +253,7 @@ int prt_8260_rsr (void)
                RSR_ESRS, "External Soft"}, {
                RSR_EHRS, "External Hard"}
        };
-       static int n = sizeof bits / sizeof bits[0];
+       static int n = ARRAY_SIZE(bits);
        ulong rsr = gd->arch.reset_status;
        int i;
        char *sep;