aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/r128_state.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-04-16 18:24:04 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:24:04 -0400
commit41aac24f8fb5a21ff3d0f6f56f85fad3cf0e88a9 (patch)
tree417e6bfaf6f993543af0dfb0c721574c0690dedc /drivers/char/drm/r128_state.c
parent388c69789a2a2e50965e805e3e641418082b352c (diff)
[PATCH] r128_state.c: break missing in switch statement
drm: fix r128_state.c switch statements.. in drivers/char/drm/r128_state.c (linux-2.6.12-rc2), some breaks are missing in the switch statement. See trivial fix below. Signed-off-by: Hansjoerg Lipp <hjlipp@web.de> Signed-off-by: Dave Airlie <airlied@linux.ie> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/drm/r128_state.c')
-rw-r--r--drivers/char/drm/r128_state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/drm/r128_state.c b/drivers/char/drm/r128_state.c
index 38b3cbd0bbba..53af69162829 100644
--- a/drivers/char/drm/r128_state.c
+++ b/drivers/char/drm/r128_state.c
@@ -1549,12 +1549,16 @@ static int r128_cce_depth( DRM_IOCTL_ARGS )
1549 switch ( depth.func ) { 1549 switch ( depth.func ) {
1550 case R128_WRITE_SPAN: 1550 case R128_WRITE_SPAN:
1551 ret = r128_cce_dispatch_write_span( dev, &depth ); 1551 ret = r128_cce_dispatch_write_span( dev, &depth );
1552 break;
1552 case R128_WRITE_PIXELS: 1553 case R128_WRITE_PIXELS:
1553 ret = r128_cce_dispatch_write_pixels( dev, &depth ); 1554 ret = r128_cce_dispatch_write_pixels( dev, &depth );
1555 break;
1554 case R128_READ_SPAN: 1556 case R128_READ_SPAN:
1555 ret = r128_cce_dispatch_read_span( dev, &depth ); 1557 ret = r128_cce_dispatch_read_span( dev, &depth );
1558 break;
1556 case R128_READ_PIXELS: 1559 case R128_READ_PIXELS:
1557 ret = r128_cce_dispatch_read_pixels( dev, &depth ); 1560 ret = r128_cce_dispatch_read_pixels( dev, &depth );
1561 break;
1558 } 1562 }
1559 1563
1560 COMMIT_RING(); 1564 COMMIT_RING();