aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-04-16 15:24:04 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:24:04 -0700
commit41aac24f8fb5a21ff3d0f6f56f85fad3cf0e88a9 (patch)
tree417e6bfaf6f993543af0dfb0c721574c0690dedc /drivers/char/drm
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')
-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 38b3cbd0bbb..53af6916282 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 )
switch ( depth.func ) {
case R128_WRITE_SPAN:
ret = r128_cce_dispatch_write_span( dev, &depth );
+ break;
case R128_WRITE_PIXELS:
ret = r128_cce_dispatch_write_pixels( dev, &depth );
+ break;
case R128_READ_SPAN:
ret = r128_cce_dispatch_read_span( dev, &depth );
+ break;
case R128_READ_PIXELS:
ret = r128_cce_dispatch_read_pixels( dev, &depth );
+ break;
}
COMMIT_RING();