mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-29 13:00:35 +00:00
2c4f1ac562
The ath79 code uses static clock devices and provides its own clk_{get,put} implementations. Change the code to use dynamically allocated clock devices and register the clocks within the clkdev framework. Additionally, remove the local clk_{get,put} implementation. The clkdev framework has a common implementation of those. Also move the call of ath79_clock_init() from plat_mem_init() to plat_time_init(). Otherwise it would not be possible to use memory allocation functions from ath79clock_init() becasuse the memory subsystem is not yet initialized when plat_mem_init() runs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5780/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> |
||
---|---|---|
.. | ||
clock.c | ||
common.c | ||
common.h | ||
dev-common.c | ||
dev-common.h | ||
dev-gpio-buttons.c | ||
dev-gpio-buttons.h | ||
dev-leds-gpio.c | ||
dev-leds-gpio.h | ||
dev-spi.c | ||
dev-spi.h | ||
dev-usb.c | ||
dev-usb.h | ||
dev-wmac.c | ||
dev-wmac.h | ||
early_printk.c | ||
gpio.c | ||
irq.c | ||
Kconfig | ||
mach-ap81.c | ||
mach-ap121.c | ||
mach-ap136.c | ||
mach-db120.c | ||
mach-pb44.c | ||
mach-ubnt-xm.c | ||
machtypes.h | ||
Makefile | ||
pci.c | ||
pci.h | ||
Platform | ||
prom.c | ||
setup.c |