diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/cfbimgblt.c | 2 | ||||
-rw-r--r-- | drivers/video/cg14.c | 4 | ||||
-rw-r--r-- | drivers/video/cg6.c | 2 | ||||
-rw-r--r-- | drivers/video/exynos/exynos_mipi_dsi_common.c | 2 | ||||
-rw-r--r-- | drivers/video/fsl-diu-fb.c | 2 | ||||
-rw-r--r-- | drivers/video/leo.c | 2 | ||||
-rw-r--r-- | drivers/video/matrox/matroxfb_DAC1064.c | 4 | ||||
-rw-r--r-- | drivers/video/matrox/matroxfb_Ti3026.c | 2 | ||||
-rw-r--r-- | drivers/video/nvidia/nv_hw.c | 2 | ||||
-rw-r--r-- | drivers/video/omap2/displays-new/panel-dsi-cm.c | 2 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dispc.c | 2 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dsi.c | 2 | ||||
-rw-r--r-- | drivers/video/sbuslib.c | 2 | ||||
-rw-r--r-- | drivers/video/sysimgblt.c | 2 | ||||
-rw-r--r-- | drivers/video/tcx.c | 4 | ||||
-rw-r--r-- | drivers/video/vt8500lcdfb.c | 2 |
16 files changed, 19 insertions, 19 deletions
diff --git a/drivers/video/cfbimgblt.c b/drivers/video/cfbimgblt.c index baed57d3cfff..a2bb276a8b24 100644 --- a/drivers/video/cfbimgblt.c +++ b/drivers/video/cfbimgblt.c | |||
@@ -181,7 +181,7 @@ static inline void slow_imageblit(const struct fb_image *image, struct fb_info * | |||
181 | } | 181 | } |
182 | shift += bpp; | 182 | shift += bpp; |
183 | shift &= (32 - 1); | 183 | shift &= (32 - 1); |
184 | if (!l) { l = 8; s++; }; | 184 | if (!l) { l = 8; s++; } |
185 | } | 185 | } |
186 | 186 | ||
187 | /* write trailing bits */ | 187 | /* write trailing bits */ |
diff --git a/drivers/video/cg14.c b/drivers/video/cg14.c index 9626488a69c5..c79745b136bb 100644 --- a/drivers/video/cg14.c +++ b/drivers/video/cg14.c | |||
@@ -330,7 +330,7 @@ static int cg14_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg) | |||
330 | default: | 330 | default: |
331 | ret = -ENOSYS; | 331 | ret = -ENOSYS; |
332 | break; | 332 | break; |
333 | }; | 333 | } |
334 | if (!ret) { | 334 | if (!ret) { |
335 | sbus_writeb(cur_mode, ®s->mcr); | 335 | sbus_writeb(cur_mode, ®s->mcr); |
336 | par->mode = mode; | 336 | par->mode = mode; |
@@ -343,7 +343,7 @@ static int cg14_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg) | |||
343 | FBTYPE_MDICOLOR, 8, | 343 | FBTYPE_MDICOLOR, 8, |
344 | info->fix.smem_len); | 344 | info->fix.smem_len); |
345 | break; | 345 | break; |
346 | }; | 346 | } |
347 | 347 | ||
348 | return ret; | 348 | return ret; |
349 | } | 349 | } |
diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index f070ec3b0f0a..70781fea092a 100644 --- a/drivers/video/cg6.c +++ b/drivers/video/cg6.c | |||
@@ -624,7 +624,7 @@ static void cg6_init_fix(struct fb_info *info, int linebytes) | |||
624 | default: | 624 | default: |
625 | cg6_cpu_name = "i386"; | 625 | cg6_cpu_name = "i386"; |
626 | break; | 626 | break; |
627 | }; | 627 | } |
628 | if (((conf >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK) >= 11) { | 628 | if (((conf >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK) >= 11) { |
629 | if (info->fix.smem_len <= 0x100000) | 629 | if (info->fix.smem_len <= 0x100000) |
630 | cg6_card_name = "TGX"; | 630 | cg6_card_name = "TGX"; |
diff --git a/drivers/video/exynos/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c index 520fc9bd887b..9b321652b810 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_common.c +++ b/drivers/video/exynos/exynos_mipi_dsi_common.c | |||
@@ -667,7 +667,7 @@ int exynos_mipi_dsi_init_dsim(struct mipi_dsim_device *dsim) | |||
667 | default: | 667 | default: |
668 | dev_info(dsim->dev, "data lane is invalid.\n"); | 668 | dev_info(dsim->dev, "data lane is invalid.\n"); |
669 | return -EINVAL; | 669 | return -EINVAL; |
670 | }; | 670 | } |
671 | 671 | ||
672 | exynos_mipi_dsi_sw_reset(dsim); | 672 | exynos_mipi_dsi_sw_reset(dsim); |
673 | exynos_mipi_dsi_func_reset(dsim); | 673 | exynos_mipi_dsi_func_reset(dsim); |
diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c index 6dd72250111e..6c71bb6b9a6d 100644 --- a/drivers/video/fsl-diu-fb.c +++ b/drivers/video/fsl-diu-fb.c | |||
@@ -1102,7 +1102,7 @@ static int fsl_diu_cursor(struct fb_info *info, struct fb_cursor *cursor) | |||
1102 | 1102 | ||
1103 | fsl_diu_load_cursor_image(info, image, bg, fg, | 1103 | fsl_diu_load_cursor_image(info, image, bg, fg, |
1104 | cursor->image.width, cursor->image.height); | 1104 | cursor->image.width, cursor->image.height); |
1105 | }; | 1105 | } |
1106 | 1106 | ||
1107 | /* | 1107 | /* |
1108 | * Show or hide the cursor. The cursor data is always stored in the | 1108 | * Show or hide the cursor. The cursor data is always stored in the |
diff --git a/drivers/video/leo.c b/drivers/video/leo.c index c0f61aa37696..2c7f7d479fe2 100644 --- a/drivers/video/leo.c +++ b/drivers/video/leo.c | |||
@@ -469,7 +469,7 @@ static void leo_wid_put(struct fb_info *info, struct fb_wid_list *wl) | |||
469 | 469 | ||
470 | default: | 470 | default: |
471 | continue; | 471 | continue; |
472 | }; | 472 | } |
473 | sbus_writel(0x5800 + j, &lx_krn->krn_type); | 473 | sbus_writel(0x5800 + j, &lx_krn->krn_type); |
474 | sbus_writel(wi->wi_values[0], &lx_krn->krn_value); | 474 | sbus_writel(wi->wi_values[0], &lx_krn->krn_value); |
475 | } | 475 | } |
diff --git a/drivers/video/matrox/matroxfb_DAC1064.c b/drivers/video/matrox/matroxfb_DAC1064.c index 1717623aabc0..a01147fdf270 100644 --- a/drivers/video/matrox/matroxfb_DAC1064.c +++ b/drivers/video/matrox/matroxfb_DAC1064.c | |||
@@ -494,7 +494,7 @@ static int m1064_compute(void* out, struct my_timming* m) { | |||
494 | if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40) | 494 | if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40) |
495 | break; | 495 | break; |
496 | udelay(10); | 496 | udelay(10); |
497 | }; | 497 | } |
498 | 498 | ||
499 | CRITEND | 499 | CRITEND |
500 | 500 | ||
@@ -639,7 +639,7 @@ static void MGAG100_progPixClock(const struct matrox_fb_info *minfo, int flags, | |||
639 | if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40) | 639 | if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40) |
640 | break; | 640 | break; |
641 | udelay(10); | 641 | udelay(10); |
642 | }; | 642 | } |
643 | if (!clk) | 643 | if (!clk) |
644 | printk(KERN_ERR "matroxfb: Pixel PLL%c not locked after usual time\n", (reg-M1064_XPIXPLLAM-2)/4 + 'A'); | 644 | printk(KERN_ERR "matroxfb: Pixel PLL%c not locked after usual time\n", (reg-M1064_XPIXPLLAM-2)/4 + 'A'); |
645 | selClk = inDAC1064(minfo, M1064_XPIXCLKCTRL) & ~M1064_XPIXCLKCTRL_SRC_MASK; | 645 | selClk = inDAC1064(minfo, M1064_XPIXCLKCTRL) & ~M1064_XPIXCLKCTRL_SRC_MASK; |
diff --git a/drivers/video/matrox/matroxfb_Ti3026.c b/drivers/video/matrox/matroxfb_Ti3026.c index 9a44cec394b5..195ad7cac1ba 100644 --- a/drivers/video/matrox/matroxfb_Ti3026.c +++ b/drivers/video/matrox/matroxfb_Ti3026.c | |||
@@ -473,7 +473,7 @@ static void ti3026_setMCLK(struct matrox_fb_info *minfo, int fout) | |||
473 | if (inTi3026(minfo, TVP3026_XPIXPLLDATA) & 0x40) | 473 | if (inTi3026(minfo, TVP3026_XPIXPLLDATA) & 0x40) |
474 | break; | 474 | break; |
475 | udelay(10); | 475 | udelay(10); |
476 | }; | 476 | } |
477 | if (!tmout) | 477 | if (!tmout) |
478 | printk(KERN_ERR "matroxfb: Temporary pixel PLL not locked after 5 secs\n"); | 478 | printk(KERN_ERR "matroxfb: Temporary pixel PLL not locked after 5 secs\n"); |
479 | 479 | ||
diff --git a/drivers/video/nvidia/nv_hw.c b/drivers/video/nvidia/nv_hw.c index ed20a9871b33..81c80ac3c76f 100644 --- a/drivers/video/nvidia/nv_hw.c +++ b/drivers/video/nvidia/nv_hw.c | |||
@@ -1300,7 +1300,7 @@ void NVLoadStateExt(struct nvidia_par *par, RIVA_HW_STATE * state) | |||
1300 | break; | 1300 | break; |
1301 | default: | 1301 | default: |
1302 | break; | 1302 | break; |
1303 | }; | 1303 | } |
1304 | 1304 | ||
1305 | NV_WR32(par->PGRAPH, 0x0b38, 0x2ffff800); | 1305 | NV_WR32(par->PGRAPH, 0x0b38, 0x2ffff800); |
1306 | NV_WR32(par->PGRAPH, 0x0b3c, 0x00006000); | 1306 | NV_WR32(par->PGRAPH, 0x0b3c, 0x00006000); |
diff --git a/drivers/video/omap2/displays-new/panel-dsi-cm.c b/drivers/video/omap2/displays-new/panel-dsi-cm.c index aaaea6469cd9..b7baafe83aa3 100644 --- a/drivers/video/omap2/displays-new/panel-dsi-cm.c +++ b/drivers/video/omap2/displays-new/panel-dsi-cm.c | |||
@@ -599,7 +599,7 @@ static int dsicm_power_on(struct panel_drv_data *ddata) | |||
599 | if (r) { | 599 | if (r) { |
600 | dev_err(&ddata->pdev->dev, "failed to configure DSI pins\n"); | 600 | dev_err(&ddata->pdev->dev, "failed to configure DSI pins\n"); |
601 | goto err0; | 601 | goto err0; |
602 | }; | 602 | } |
603 | 603 | ||
604 | r = in->ops.dsi->set_config(in, &dsi_config); | 604 | r = in->ops.dsi->set_config(in, &dsi_config); |
605 | if (r) { | 605 | if (r) { |
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c index 8fbeb299fac3..91c687fd002e 100644 --- a/drivers/video/omap2/dss/dispc.c +++ b/drivers/video/omap2/dss/dispc.c | |||
@@ -2918,7 +2918,7 @@ static void _dispc_mgr_set_lcd_timings(enum omap_channel channel, int hsw, | |||
2918 | break; | 2918 | break; |
2919 | default: | 2919 | default: |
2920 | BUG(); | 2920 | BUG(); |
2921 | }; | 2921 | } |
2922 | 2922 | ||
2923 | l = dispc_read_reg(DISPC_POL_FREQ(channel)); | 2923 | l = dispc_read_reg(DISPC_POL_FREQ(channel)); |
2924 | l |= FLD_VAL(onoff, 17, 17); | 2924 | l |= FLD_VAL(onoff, 17, 17); |
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index 64b1a81b3afc..6056b27cf73c 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c | |||
@@ -4066,7 +4066,7 @@ static int dsi_enable_video_output(struct omap_dss_device *dssdev, int channel) | |||
4066 | default: | 4066 | default: |
4067 | r = -EINVAL; | 4067 | r = -EINVAL; |
4068 | goto err_pix_fmt; | 4068 | goto err_pix_fmt; |
4069 | }; | 4069 | } |
4070 | 4070 | ||
4071 | dsi_if_enable(dsidev, false); | 4071 | dsi_if_enable(dsidev, false); |
4072 | dsi_vc_enable(dsidev, channel, false); | 4072 | dsi_vc_enable(dsidev, channel, false); |
diff --git a/drivers/video/sbuslib.c b/drivers/video/sbuslib.c index 296afae442f4..a350209ffbd3 100644 --- a/drivers/video/sbuslib.c +++ b/drivers/video/sbuslib.c | |||
@@ -186,7 +186,7 @@ int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg, | |||
186 | } | 186 | } |
187 | default: | 187 | default: |
188 | return -EINVAL; | 188 | return -EINVAL; |
189 | }; | 189 | } |
190 | } | 190 | } |
191 | EXPORT_SYMBOL(sbusfb_ioctl_helper); | 191 | EXPORT_SYMBOL(sbusfb_ioctl_helper); |
192 | 192 | ||
diff --git a/drivers/video/sysimgblt.c b/drivers/video/sysimgblt.c index 186c6f607be2..a4d05b1b17d7 100644 --- a/drivers/video/sysimgblt.c +++ b/drivers/video/sysimgblt.c | |||
@@ -152,7 +152,7 @@ static void slow_imageblit(const struct fb_image *image, struct fb_info *p, | |||
152 | } | 152 | } |
153 | shift += bpp; | 153 | shift += bpp; |
154 | shift &= (32 - 1); | 154 | shift &= (32 - 1); |
155 | if (!l) { l = 8; s++; }; | 155 | if (!l) { l = 8; s++; } |
156 | } | 156 | } |
157 | 157 | ||
158 | /* write trailing bits */ | 158 | /* write trailing bits */ |
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c index 1f3a3271f3dd..7fb2d696fac7 100644 --- a/drivers/video/tcx.c +++ b/drivers/video/tcx.c | |||
@@ -232,7 +232,7 @@ tcx_blank(int blank, struct fb_info *info) | |||
232 | 232 | ||
233 | case FB_BLANK_POWERDOWN: /* Poweroff */ | 233 | case FB_BLANK_POWERDOWN: /* Poweroff */ |
234 | break; | 234 | break; |
235 | }; | 235 | } |
236 | 236 | ||
237 | sbus_writel(val, &thc->thc_misc); | 237 | sbus_writel(val, &thc->thc_misc); |
238 | 238 | ||
@@ -434,7 +434,7 @@ static int tcx_probe(struct platform_device *op) | |||
434 | default: | 434 | default: |
435 | j = i; | 435 | j = i; |
436 | break; | 436 | break; |
437 | }; | 437 | } |
438 | par->mmap_map[i].poff = op->resource[j].start; | 438 | par->mmap_map[i].poff = op->resource[j].start; |
439 | } | 439 | } |
440 | 440 | ||
diff --git a/drivers/video/vt8500lcdfb.c b/drivers/video/vt8500lcdfb.c index 897484903c30..b30e5a439d1f 100644 --- a/drivers/video/vt8500lcdfb.c +++ b/drivers/video/vt8500lcdfb.c | |||
@@ -365,7 +365,7 @@ static int vt8500lcd_probe(struct platform_device *pdev) | |||
365 | if (!fb_mem_virt) { | 365 | if (!fb_mem_virt) { |
366 | pr_err("%s: Failed to allocate framebuffer\n", __func__); | 366 | pr_err("%s: Failed to allocate framebuffer\n", __func__); |
367 | return -ENOMEM; | 367 | return -ENOMEM; |
368 | }; | 368 | } |
369 | 369 | ||
370 | fbi->fb.fix.smem_start = fb_mem_phys; | 370 | fbi->fb.fix.smem_start = fb_mem_phys; |
371 | fbi->fb.fix.smem_len = fb_mem_len; | 371 | fbi->fb.fix.smem_len = fb_mem_len; |