aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-17 17:00:52 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-19 20:19:03 +0300
commitf7dd8f52429fa145c4a524258c4b35d498f7b164 (patch)
tree22f625c6252b8f8196f8cb466e62d0f6502db877
parentdrm/omap: remove unused enum omap_overlay_manager_caps (diff)
downloadwireguard-linux-f7dd8f52429fa145c4a524258c4b35d498f7b164.tar.xz
wireguard-linux-f7dd8f52429fa145c4a524258c4b35d498f7b164.zip
drm/omap: fix wrong variable type
'r' is supposed to be int, not u16, so fix it. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/gpu/drm/omapdrm/dss/hdmi_pll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi_pll.c b/drivers/gpu/drm/omapdrm/dss/hdmi_pll.c
index 06e23a7c432c..efd40f940aaa 100644
--- a/drivers/gpu/drm/omapdrm/dss/hdmi_pll.c
+++ b/drivers/gpu/drm/omapdrm/dss/hdmi_pll.c
@@ -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);