Skip to content

Commit

Permalink
drm/sti: fix warning in build.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Aug 4, 2014
1 parent 96b1b97 commit 8bb652e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/sti/sti_compositor.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ static int sti_compositor_bind(struct device *dev, struct device *master,
(1 << crtc) - 1, plane_type);
plane++;
break;
case STI_BCK:
break;
}

/* The first planes are reserved for primary planes*/
Expand Down
2 changes: 0 additions & 2 deletions drivers/gpu/drm/sti/sti_drm_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 sti_mixer *mixer = to_sti_mixer(crtc);
struct device *dev = mixer->dev;
struct sti_compositor *compo = dev_get_drvdata(dev);
struct sti_layer *layer;
unsigned int w, h;
int ret;
Expand Down

0 comments on commit 8bb652e

Please sign in to comment.