video: tegra: dc: Fix sparse warning
Vinod G [Wed, 15 Apr 2015 00:44:41 +0000 (17:44 -0700)]
bug 200067946

Change-Id: Id92b513d052fddfe9bf5f132fbfbffb78c3e30bf
Signed-off-by: Vinod G <vinodg@nvidia.com>
Reviewed-on: http://git-master/r/731557
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aron Wong <awong@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

drivers/video/tegra/dc/dc.c

index 4151789..0ae2c1f 100644 (file)
@@ -1991,6 +1991,9 @@ void tegra_dc_cmu_enable(struct tegra_dc *dc, bool cmu_enable)
        tegra_dc_update_cmu(dc, tegra_dc_get_cmu(dc));
 #endif
 }
+EXPORT_SYMBOL(tegra_dc_cmu_enable);
+#else
+#define tegra_dc_cmu_enable(dc, cmu_enable)
 #endif
 
 #ifdef CONFIG_TEGRA_DC_CMU