video: tegra: dc: fix build error in print_mode
Jon Mayo [Thu, 12 Jul 2012 20:29:07 +0000 (13:29 -0700)]
Use the right number of parameters for tegra_dc_calc_fresh() when called from
print_mode(). This code is only used for debug.

Change-Id: I4d0bb8b1700f670644057039fe8d0bc315b27c1d
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/115485
Reviewed-by: Automatic_Commit_Validation_User

drivers/video/tegra/dc/mode.c

index 3359b2a..49cc5f5 100644 (file)
@@ -156,7 +156,7 @@ static void print_mode(struct tegra_dc *dc,
                        const struct tegra_dc_mode *mode, const char *note)
 {
        if (mode) {
-               int refresh = tegra_dc_calc_refresh(dc, mode);
+               int refresh = tegra_dc_calc_refresh(mode);
                dev_info(&dc->ndev->dev, "%s():MODE:%dx%d@%d.%03uHz pclk=%d\n",
                        note ? note : "",
                        mode->h_active, mode->v_active,