ARM: tegra: profile: export app profile support
Ilan Aelion [Fri, 24 Aug 2012 08:56:52 +0000 (13:56 +0530)]
Bug 1034948

Change-Id: I779abb26d65640f5138abe9c46652b749127c694
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/127064
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

arch/arm/mach-tegra/tegra3_speedo.c

index 2889f65..54180a6 100644 (file)
@@ -136,6 +136,12 @@ static int package_id;
  */
 static int enable_app_profiles;
 
+int app_profiles_enabled(void)
+{
+       return enable_app_profiles;
+}
+EXPORT_SYMBOL(app_profiles_enabled);
+
 static void fuse_speedo_calib(u32 *speedo_g, u32 *speedo_lp)
 {
        u32 reg;