mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
video: fbdev: cirrusfb: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that in this particular case I placed the "fall through" comment on its own line, which is what GCC is expecting to find. Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
0101f48ae5
commit
8c15220868
1 changed files with 4 additions and 2 deletions
|
|
@ -1477,10 +1477,12 @@ static void init_vgachip(struct fb_info *info)
|
|||
mdelay(100);
|
||||
/* mode */
|
||||
vga_wgfx(cinfo->regbase, CL_GR31, 0x00);
|
||||
case BT_GD5480: /* fall through */
|
||||
/* fall through */
|
||||
case BT_GD5480:
|
||||
/* from Klaus' NetBSD driver: */
|
||||
vga_wgfx(cinfo->regbase, CL_GR2F, 0x00);
|
||||
case BT_ALPINE: /* fall through */
|
||||
/* fall through */
|
||||
case BT_ALPINE:
|
||||
/* put blitter into 542x compat */
|
||||
vga_wgfx(cinfo->regbase, CL_GR33, 0x00);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue