diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-09 12:09:32 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-11-09 12:09:32 -0500 |
commit | f5ed28d318ac4b4a835892f69135701757e5aeab (patch) | |
tree | a1f3580c06dabb7de130f1575efffc8e7883a355 | |
parent | 3725369f94a364c5cbfd52d1852b51fa8eb9ebfe (diff) |
video: fbdev: sm501fb: mark expected switch fall-through in sm501fb_blank_crt
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
-rw-r--r-- | drivers/video/fbdev/sm501fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/sm501fb.c b/drivers/video/fbdev/sm501fb.c index 49233c192662..8d4fdb373299 100644 --- a/drivers/video/fbdev/sm501fb.c +++ b/drivers/video/fbdev/sm501fb.c | |||
@@ -1008,6 +1008,7 @@ static int sm501fb_blank_crt(int blank_mode, struct fb_info *info) | |||
1008 | case FB_BLANK_POWERDOWN: | 1008 | case FB_BLANK_POWERDOWN: |
1009 | ctrl &= ~SM501_DC_CRT_CONTROL_ENABLE; | 1009 | ctrl &= ~SM501_DC_CRT_CONTROL_ENABLE; |
1010 | sm501_misc_control(fbi->dev->parent, SM501_MISC_DAC_POWER, 0); | 1010 | sm501_misc_control(fbi->dev->parent, SM501_MISC_DAC_POWER, 0); |
1011 | /* fall through */ | ||
1011 | 1012 | ||
1012 | case FB_BLANK_NORMAL: | 1013 | case FB_BLANK_NORMAL: |
1013 | ctrl |= SM501_DC_CRT_CONTROL_BLANK; | 1014 | ctrl |= SM501_DC_CRT_CONTROL_BLANK; |