2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 01:34:00 +08:00

ARM: EXYNOS: Use of_machine_is_compatible instead of soc_is_exynos4

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>
This commit is contained in:
Krzysztof Kozlowski 2015-05-14 11:43:59 +09:00 committed by Kukjin Kim
parent 6f024978e7
commit c1f0ecff49

View File

@ -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++) {