mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
a0e157afd0
In a multiplatform kernel, each initcall is run regardless of the platform it is meant for, so it must not attempt to access SoC-specific registers. This adds 'if (soc_is_s3c64xx)' to all initcalls that are specific to the s3c64xx platform, to prevent them from breaking other platforms once we can build them into a combined kernel. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> |
||
---|---|---|
.. | ||
include/plat | ||
adc.c | ||
cpu.c | ||
dev-uart.c | ||
devs.c | ||
gpio-samsung.c | ||
init.c | ||
Kconfig | ||
Makefile | ||
platformdata.c | ||
pm-check.c | ||
pm-common.c | ||
pm-debug.c | ||
pm-gpio.c | ||
pm.c | ||
wakeup-mask.c | ||
watchdog-reset.c |