video: tegra: dc: fix build warnings
Jon Mayo [Tue, 15 May 2012 18:50:48 +0000 (11:50 -0700)]
Makes function pointer type for mode_filter match the function in hdmi.c

Change-Id: Id61f319a4ddef003b79782391e9e7f2f8cb32dda
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/102630
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>

drivers/video/tegra/dc/dc_priv.h

index 49baa6b..ce7ac3c 100644 (file)
@@ -70,7 +70,7 @@ struct tegra_dc_out_ops {
        /* resume output.  dc clocks are on at this point */
        void (*resume)(struct tegra_dc *dc);
        /* mode filter. to provide a list of supported modes*/
-       bool (*mode_filter)(struct tegra_dc *dc,
+       bool (*mode_filter)(const struct tegra_dc *dc,
                        struct fb_videomode *mode);
 };