OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
|
history
diff --git
a/arch/arm/mach-exynos/exynos.c
b/arch/arm/mach-exynos/exynos.c
index
c3bfbba
..
5917a30
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++) {