linux/arch/arm/mach-spear
Arnd Bergmann d9909ebe65 ARM: spear: make clock driver independent of headers
Device drivers should not access MMIO registers through hardcoded
platform specific address constants. Instead, we can pass the
MMIO token to the spear clock driver in the initialization routine
to contain that knowledge in the platform code itself.

Ideally, the clock driver would use of_iomap() or similar to
get the address, and that can be used later, but for now, this
is the minimal change.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
2013-03-12 17:39:58 +01:00
..
include/mach ARM: spear: make clock driver independent of headers 2013-03-12 17:39:58 +01:00
generic.h ARM: spear: make clock driver independent of headers 2013-03-12 17:39:58 +01:00
headsmp.S
hotplug.c
Kconfig
Makefile
Makefile.boot
pl080.c
pl080.h ARM: spear: move generic.h and pl080.h into private dir 2013-03-12 17:39:53 +01:00
platsmp.c ARM: spear: move generic.h and pl080.h into private dir 2013-03-12 17:39:53 +01:00
restart.c ARM: spear: move generic.h and pl080.h into private dir 2013-03-12 17:39:53 +01:00
spear3xx.c ARM: spear: make clock driver independent of headers 2013-03-12 17:39:58 +01:00
spear6xx.c ARM: spear: make clock driver independent of headers 2013-03-12 17:39:58 +01:00
spear13xx-dma.h
spear13xx.c ARM: spear: make clock driver independent of headers 2013-03-12 17:39:58 +01:00
spear300.c ARM: spear: move generic.h and pl080.h into private dir 2013-03-12 17:39:53 +01:00
spear310.c ARM: spear: move generic.h and pl080.h into private dir 2013-03-12 17:39:53 +01:00
spear320.c ARM: spear: make clock driver independent of headers 2013-03-12 17:39:58 +01:00
spear1310.c ARM: spear: make clock driver independent of headers 2013-03-12 17:39:58 +01:00
spear1340.c ARM: spear: move generic.h and pl080.h into private dir 2013-03-12 17:39:53 +01:00
time.c ARM: spear: move generic.h and pl080.h into private dir 2013-03-12 17:39:53 +01:00