projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f02497
)
ARM: EXYNOS: Use of_machine_is_compatible instead of soc_is_exynos4
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Thu, 14 May 2015 02:43:59 +0000
(11:43 +0900)
committer
Kukjin Kim
<kgene@kernel.org>
Thu, 14 May 2015 02:43:59 +0000
(11:43 +0900)
of_machine_is_compatible() seems to be preferred over soc_is_exynos4().
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/mach-exynos/exynos.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-exynos/exynos.c
b/arch/arm/mach-exynos/exynos.c
index c3bfbba3006d8fbd51c328b8c964434bf6fa1ea3..5917a30eee33f286c80708dfb84cdd610bd2dd9d 100644
(file)
--- a/
arch/arm/mach-exynos/exynos.c
+++ b/
arch/arm/mach-exynos/exynos.c
@@
-179,7
+179,7
@@
static void __init exynos_init_io(void)
*/
void exynos_set_delayed_reset_assertion(bool enable)
{
- if (
soc_is_exynos4(
)) {
+ if (
of_machine_is_compatible("samsung,exynos4"
)) {
unsigned int tmp, core_id;
for (core_id = 0; core_id < num_possible_cpus(); core_id++) {