Merge branch 'devel'
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-s3c2412 / s3c2412.c
index abf1599c9f97f277b009fd6c64ed6e14629bba46..98a0de924c227e7eb28b2bdaf4aaa01ec3c7e50f 100644 (file)
@@ -175,7 +175,7 @@ void __init s3c2412_init_clocks(int xtal)
        /* work out clock scalings */
 
        hclk = fclk / ((tmp & S3C2412_CLKDIVN_HDIVN_MASK) + 1);
-       hclk /= ((tmp & S3C2421_CLKDIVN_ARMDIVN) ? 2 : 1);
+       hclk /= ((tmp & S3C2412_CLKDIVN_ARMDIVN) ? 2 : 1);
        pclk = hclk / ((tmp & S3C2412_CLKDIVN_PDIVN) ? 2 : 1);
 
        /* print brieft summary of clocks, etc */