mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
990f2f223c
The mmp clock drivers currently hardcode the physical addresses for the clock registers. This is generally a bad idea, and it also gets in the way of multiplatform builds, which make the platform header files inaccessible to device drivers. To work around the header file problem, this patch changes the calling convention so the three mmp clock drivers get initialized with the base addresses as arguments from the platform code. It would still be useful to have a larger rework of the clock drivers, with DT integration to let the clocks actually be probed automatically, and the base addresses passed as DT properties. I am unsure if anyone is still interested in the mmp platform, so it is possible that this won't happen. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Mike Turquette <mturquette@linaro.org> Cc: Chao Xie <chao.xie@marvell.com> Cc: Eric Miao <eric.y.miao@gmail.com> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> |
||
---|---|---|
.. | ||
include/mach | ||
aspenite.c | ||
avengers_lite.c | ||
brownstone.c | ||
clock-mmp2.c | ||
clock-pxa168.c | ||
clock-pxa910.c | ||
clock.c | ||
clock.h | ||
common.c | ||
common.h | ||
devices.c | ||
flint.c | ||
gplugd.c | ||
jasper.c | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
mmp2-dt.c | ||
mmp2.c | ||
mmp-dt.c | ||
pm-mmp2.c | ||
pm-pxa910.c | ||
pxa168.c | ||
pxa910.c | ||
sram.c | ||
tavorevb.c | ||
teton_bga.c | ||
time.c | ||
ttc_dkb.c |