summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2014-01-29 17:03:58 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2014-02-05 15:37:56 +0900
commit1501cc94162ded8712c6e854969809ff5a0ab595 (patch)
tree80e16b67625950789de0ece16dc9fc3c8495e718
parent790991b0e1391c91662bda56f98fd280015f9628 (diff)
downloadu-boot-imx-1501cc94162ded8712c6e854969809ff5a0ab595.zip
u-boot-imx-1501cc94162ded8712c6e854969809ff5a0ab595.tar.gz
u-boot-imx-1501cc94162ded8712c6e854969809ff5a0ab595.tar.bz2
exynos: pinmux: remove unnecessary define
The value of PERIPH_ID_COUNT was wrong, and unnecessary. Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--arch/arm/cpu/armv7/exynos/clock.c2
-rw-r--r--arch/arm/include/asm/arch-exynos/periph.h1
2 files changed, 1 insertions, 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,
};