drm/sti: fix warning in build.
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Родитель
96b1b97110
Коммит
8bb652eb38
|
@ -119,6 +119,8 @@ static int sti_compositor_bind(struct device *dev, struct device *master,
|
||||||
(1 << crtc) - 1, plane_type);
|
(1 << crtc) - 1, plane_type);
|
||||||
plane++;
|
plane++;
|
||||||
break;
|
break;
|
||||||
|
case STI_BCK:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The first planes are reserved for primary planes*/
|
/* The first planes are reserved for primary planes*/
|
||||||
|
|
|
@ -151,8 +151,6 @@ static int sti_drm_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y,
|
||||||
struct drm_framebuffer *old_fb)
|
struct drm_framebuffer *old_fb)
|
||||||
{
|
{
|
||||||
struct sti_mixer *mixer = to_sti_mixer(crtc);
|
struct sti_mixer *mixer = to_sti_mixer(crtc);
|
||||||
struct device *dev = mixer->dev;
|
|
||||||
struct sti_compositor *compo = dev_get_drvdata(dev);
|
|
||||||
struct sti_layer *layer;
|
struct sti_layer *layer;
|
||||||
unsigned int w, h;
|
unsigned int w, h;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче