ARM: 8200/1: amba: Add helpers for (un)preparing AMBA clock v12

Add amba_pclk_prepare() and amba_pclk_unprepare() inline functions for
handling the AMBA bus clock by device drivers.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Krzysztof Kozlowski 2014-11-14 09:47:49 +01:00 • committed by Russell King
commit f560e32295