drm/omap: fix wrong variable type
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 17 May 2016 14:00:52 +0000 (17:00 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 May 2016 17:19:03 +0000 (20:19 +0300)
'r' is supposed to be int, not u16, so fix it.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/hdmi_pll.c

index 06e23a7..efd40f9 100644 (file)
@@ -102,7 +102,7 @@ static int hdmi_pll_enable(struct dss_pll *dsspll)
 {
        struct hdmi_pll_data *pll = container_of(dsspll, struct hdmi_pll_data, pll);
        struct hdmi_wp_data *wp = pll->wp;
-       u16 r = 0;
+       int r;
 
        dss_ctrl_pll_enable(DSS_PLL_HDMI, true);