drm/mcde: Fix compile problems
Some further compile problems appeared while merging the patch, fix them up. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190526113624.6702-1-linus.walleij@linaro.org
This commit is contained in:
parent
95b608044f
commit
182c58ab2e
|
@ -823,7 +823,7 @@ static void mcde_display_enable(struct drm_simple_display_pipe *pipe,
|
||||||
u32 formatter_ppl = mode->hdisplay; /* pixels per line */
|
u32 formatter_ppl = mode->hdisplay; /* pixels per line */
|
||||||
u32 formatter_lpf = mode->vdisplay; /* lines per frame */
|
u32 formatter_lpf = mode->vdisplay; /* lines per frame */
|
||||||
int pkt_size, fifo_wtrmrk;
|
int pkt_size, fifo_wtrmrk;
|
||||||
int cpp = drm_format_plane_cpp(format, 0);
|
int cpp = fb->format->cpp[0];
|
||||||
int formatter_cpp;
|
int formatter_cpp;
|
||||||
struct drm_format_name_buf tmp;
|
struct drm_format_name_buf tmp;
|
||||||
u32 formatter_frame;
|
u32 formatter_frame;
|
||||||
|
|
|
@ -191,7 +191,7 @@ static ssize_t mcde_dsi_host_transfer(struct mipi_dsi_host *host,
|
||||||
}
|
}
|
||||||
|
|
||||||
dev_dbg(d->dev,
|
dev_dbg(d->dev,
|
||||||
"message to channel %d, %u bytes",
|
"message to channel %d, %zd bytes",
|
||||||
msg->channel,
|
msg->channel,
|
||||||
txlen);
|
txlen);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue