From: Per Forlin Date: Sun, 5 Dec 2010 11:27:05 +0000 (+0100) Subject: ux500: Call prmcu_init only for u8500 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b04f8b9070e60fe9d335613ec538223c159a5c9;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ux500: Call prmcu_init only for u8500 PRCMU driver only supports u8500. Don't initialize prcmu if running on u5500. Signed-off-by: Per Forlin Signed-off-by: Linus Walleij --- diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index 46c372fb806d..a3700bc374d3 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c @@ -59,7 +59,8 @@ void __init ux500_init_irq(void) * Init clocks here so that they are available for system timer * initialization. */ - prcmu_early_init(); + if (cpu_is_u8500()) + prcmu_early_init(); clk_init(); }