exynos: pinmux: remove unnecessary define
authorMinkyu Kang <mk7.kang@samsung.com>
Wed, 29 Jan 2014 08:03:58 +0000 (17:03 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 5 Feb 2014 06:37:56 +0000 (15:37 +0900)
The value of PERIPH_ID_COUNT was wrong, and unnecessary.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/exynos/clock.c
arch/arm/include/asm/arch-exynos/periph.h

index 5bde9d180b85c8a93572f67d0bcecf25e7081dbf..6807ff3c37f78d4645df31fc22b5f4eea56342f9 100644 (file)
@@ -26,7 +26,7 @@ struct clk_bit_info {
 };
 
 /* src_bit div_bit prediv_bit */
-static struct clk_bit_info clk_bit_info[PERIPH_ID_COUNT] = {
+static struct clk_bit_info clk_bit_info[] = {
        {0,     0,      -1},
        {4,     4,      -1},
        {8,     8,      -1},
index 6d77d809d0f1a7f6b2f0d62e8355c7613b369170..5c1c3d4a93c58805d5b5767eff8cfd336d402ab6 100644 (file)
@@ -55,7 +55,6 @@ enum periph_id {
        PERIPH_ID_PWM4,
        PERIPH_ID_I2C10 = 203,
 
-       PERIPH_ID_COUNT,
        PERIPH_ID_NONE = -1,
 };