public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 2/3] exynos: pinmux: remove unnecessary define
@ 2014-01-29  8:03 Minkyu Kang
  2014-02-05  7:25 ` Minkyu Kang
  0 siblings, 1 reply; 2+ messages in thread
From: Minkyu Kang @ 2014-01-29  8:03 UTC (permalink / raw)
  To: u-boot

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         |    2 +-
 arch/arm/include/asm/arch-exynos/periph.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/cpu/armv7/exynos/clock.c
index 5bde9d1..6807ff3 100644
--- a/arch/arm/cpu/armv7/exynos/clock.c
+++ b/arch/arm/cpu/armv7/exynos/clock.c
@@ -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},
diff --git a/arch/arm/include/asm/arch-exynos/periph.h b/arch/arm/include/asm/arch-exynos/periph.h
index 6d77d80..5c1c3d4 100644
--- a/arch/arm/include/asm/arch-exynos/periph.h
+++ b/arch/arm/include/asm/arch-exynos/periph.h
@@ -55,7 +55,6 @@ enum periph_id {
 	PERIPH_ID_PWM4,
 	PERIPH_ID_I2C10 = 203,
 
-	PERIPH_ID_COUNT,
 	PERIPH_ID_NONE = -1,
 };
 
-- 
1.7.9.5
-- 
Thanks,
Minkyu Kang.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH 2/3] exynos: pinmux: remove unnecessary define
  2014-01-29  8:03 [U-Boot] [PATCH 2/3] exynos: pinmux: remove unnecessary define Minkyu Kang
@ 2014-02-05  7:25 ` Minkyu Kang
  0 siblings, 0 replies; 2+ messages in thread
From: Minkyu Kang @ 2014-02-05  7:25 UTC (permalink / raw)
  To: u-boot

On 29/01/14 17:03, Minkyu Kang wrote:
> 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         |    2 +-
>  arch/arm/include/asm/arch-exynos/periph.h |    1 -
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 


applied to u-boot-samsung.

Minkyu Kang.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-05  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-29  8:03 [U-Boot] [PATCH 2/3] exynos: pinmux: remove unnecessary define Minkyu Kang
2014-02-05  7:25 ` Minkyu Kang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox