]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00220567 [MX6 SABRELite] No mxs-perfmon.0 directory
authorEric Sun <jian.sun@freescale.com>
Mon, 20 Aug 2012 06:05:59 +0000 (14:05 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:15 +0000 (08:35 +0200)
The problem is caused because "mx6_sabrelite_board_init" 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-mx6q_sabrelite.c

index 3abb282fd56c6c72141aeeb0d5bb5ad533f2ef00..eff81acb3208dc018b859e4d2802896be522e3da 100644 (file)
@@ -1234,6 +1234,10 @@ static void __init mx6_sabrelite_board_init(void)
        clk_set_rate(clko2, rate);
        clk_enable(clko2);
        imx6q_add_busfreq();
+
+       imx6q_add_perfmon(0);
+       imx6q_add_perfmon(1);
+       imx6q_add_perfmon(2);
 }
 
 extern void __iomem *twd_base;