]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00217687 [MX6SL_ARM2/EVK] Fix no perfmon directory
authorEric Sun <jian.sun@freescale.com>
Mon, 20 Aug 2012 12:51:25 +0000 (20:51 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:16 +0000 (08:35 +0200)
The problem is caused because the board init routine don't add the
corresponding device node. Problem resolved after add them

Signed-off-by: Eric Sun <jian.sun@freescale.com>
arch/arm/mach-mx6/board-mx6sl_arm2.c
arch/arm/mach-mx6/board-mx6sl_evk.c

index 8f05702e74aa1448d66faed68f94ec5abcd65235..1d76abb8a0b14063d7cef6cb23fd67034b528991 100755 (executable)
@@ -1254,6 +1254,10 @@ static void __init mx6_arm2_init(void)
        imx6sl_add_dcp();
        imx6sl_add_rngb();
 
+       imx6q_add_perfmon(0);
+       imx6q_add_perfmon(1);
+       imx6q_add_perfmon(2);
+
        pm_power_off = mx6_snvs_poweroff;
 }
 
index 62daad6d867b224ed834063c793d37eb8ce4db0e..7ef077f91cfc389288b7424c170c9dfc86b547dc 100644 (file)
@@ -1266,6 +1266,10 @@ static void __init mx6_evk_init(void)
        imx6sl_add_dcp();
        imx6sl_add_rngb();
 
+       imx6q_add_perfmon(0);
+       imx6q_add_perfmon(1);
+       imx6q_add_perfmon(2);
+
        pm_power_off = mx6_snvs_poweroff;
 }