]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit - arch/arm/cpu/armv7/exynos/clock.c
Exynos5: Fix compiler warnings due to clock_get_periph_rate
authorAkshay Saraswat <akshay.s@samsung.com>
Wed, 4 Feb 2015 10:29:59 +0000 (15:59 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:52:18 +0000 (13:52 +0200)
commit8c5e667b2a55237bb6d20e3db0494fdf2bd300b5
tree25b3e159334c3964a8f4e63eaf6dbdd79982fbb8
parent7b76bb82c03c28ad71d7c032da236965652e870d
Exynos5: Fix compiler warnings due to clock_get_periph_rate

Apparently, members of clk_bit_info array do not map correctly
to the members of enum periph_id. This mapping got broken after
we changed periph_id(s) to reflect interrupt number instead of
their position in a sequence. This patch intends to fix above
mentioned issue.

Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/exynos/clock.c