linux/arch/arm/mach-socfpga
Dinh Nguyen 6a7e71221d clk: socfpga: Map the clk manager base address in the clock driver
The clk manager's base address was being mapped in SOCFPGA's arch code and
being extern'ed out to the clock driver. This method is not correct, and the
arch code was not really doing anything with that clk manager anyways.

This patch moves the mapping of the clk manager's base address in the clock
driver itself. Cleans up CLK_OF_DECLARE() into a single registration of all
the clocks.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
---
v2: Use a static declaration for the clk_mgr_base_addr. Clean up the
    CLK_OF_DECLARE() as suggested by Arnd.
2014-02-18 14:08:07 -08:00
..
core.h ARM: socfpga: Enable soft reset 2013-04-14 20:17:33 -07:00
headsmp.S arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
Kconfig arm: socfpga: Enable ARM_TWD for socfpga 2013-12-03 14:19:48 -08:00
Makefile ARM: socfpga: Enable SMP for socfpga 2012-10-26 14:59:39 +02:00
platsmp.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
socfpga.c clk: socfpga: Map the clk manager base address in the clock driver 2014-02-18 14:08:07 -08:00