ARM: Tegra: tn8/ardbeg: Do not register powermon
Graziano Misuraca [Wed, 18 Dec 2013 02:14:53 +0000 (18:14 -0800)]
Do not register powermon devices for E1922, E1923,
and E1784

Change-Id: I8d33dd2f3fb16aa2c49c7324995d3b2c2de1ecfe
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/346769
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Q-Ha Park <qpark@nvidia.com>
Tested-by: Q-Ha Park <qpark@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

arch/arm/mach-tegra/board-ardbeg-powermon.c

index 82e6f4b..4b4b5dc 100644 (file)
@@ -916,7 +916,9 @@ int __init ardbeg_pmon_init(void)
 
        if (bi.fab >= BOARD_FAB_A01)
                register_devices_ardbeg_A01();
-       else
+       else if ((bi.board_id != BOARD_E1784) &&
+               (bi.board_id != BOARD_E1922) &&
+               (bi.board_id != BOARD_E1923))
                register_devices_ardbeg();
 
        return 0;