exynos: pinmux: remove unnecessary define
Subsystems (2)
PATCH 2/3 exynos: pinmux: remove unnecessary define
The value of PERIPH_ID_COUNT was wrong, and unnecessary.
Signed-off-by Minkyu Kang <[email protected]>
--- arch/arm/cpu/armv7/exynos/clock.c | 2 +- arch/arm/include/asm/arch-exynos/periph.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
arch/arm/cpu/armv7/exynos/clock.c +1 -1
@@ -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 },
arch/arm/include/asm/arch-exynos/periph.h +0 -1
@@ -55,7 +55,6 @@ enum periph_id {PERIPH_ID_PWM4 ,PERIPH_ID_I2C10 =203 , -PERIPH_ID_COUNT , PERIPH_ID_NONE = -1, };
Signature · 4 lines
1.7.9.5 -- Thanks, Minkyu Kang.
PATCH 2/3 exynos: pinmux: remove unnecessary define
Quoted 8 lines · Minkyu Kang
The value of
PERIPH_ID_COUNTwas wrong, and unnecessary.Signed-off-by Minkyu Kang <[email protected]>--- arch/arm/cpu/armv7/exynos/clock.c | 2 +- arch/arm/include/asm/arch-exynos/periph.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
applied to u-boot-samsung.
Minkyu Kang.