Bläddra i källkod

OMAPDSS: fix fck field types

'fck' field in dpi and sdi clock calculation struct is 'unsigned long
long', even though it should be 'unsigned long'. This hasn't caused any
issues so far.

Fix the field's type.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tomi Valkeinen 12 år sedan
förälder
incheckning
c56812fc85
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      drivers/video/omap2/dss/dpi.c
  2. 1 1
      drivers/video/omap2/dss/sdi.c

+ 1 - 1
drivers/video/omap2/dss/dpi.c

@@ -117,7 +117,7 @@ struct dpi_clk_calc_ctx {
 	/* outputs */
 	/* outputs */
 
 
 	struct dsi_clock_info dsi_cinfo;
 	struct dsi_clock_info dsi_cinfo;
-	unsigned long long fck;
+	unsigned long fck;
 	struct dispc_clock_info dispc_cinfo;
 	struct dispc_clock_info dispc_cinfo;
 };
 };
 
 

+ 1 - 1
drivers/video/omap2/dss/sdi.c

@@ -46,7 +46,7 @@ static struct {
 struct sdi_clk_calc_ctx {
 struct sdi_clk_calc_ctx {
 	unsigned long pck_min, pck_max;
 	unsigned long pck_min, pck_max;
 
 
-	unsigned long long fck;
+	unsigned long fck;
 	struct dispc_clock_info dispc_cinfo;
 	struct dispc_clock_info dispc_cinfo;
 };
 };