diff options
Diffstat (limited to 'drivers/video')
| -rw-r--r-- | drivers/video/atmel_lcdfb.c | 2 | ||||
| -rw-r--r-- | drivers/video/aty/atyfb_base.c | 4 | ||||
| -rw-r--r-- | drivers/video/backlight/atmel-pwm-bl.c | 2 | ||||
| -rw-r--r-- | drivers/video/backlight/tosa_lcd.c | 2 | ||||
| -rw-r--r-- | drivers/video/console/sticore.c | 2 | ||||
| -rw-r--r-- | drivers/video/fb_defio.c | 2 | ||||
| -rw-r--r-- | drivers/video/gbefb.c | 2 | ||||
| -rw-r--r-- | drivers/video/omap/lcd_ams_delta.c | 4 | ||||
| -rw-r--r-- | drivers/video/omap/lcd_mipid.c | 4 | ||||
| -rw-r--r-- | drivers/video/sgivwfb.c | 4 | ||||
| -rw-r--r-- | drivers/video/stifb.c | 4 | ||||
| -rw-r--r-- | drivers/video/tdfxfb.c | 2 | ||||
| -rw-r--r-- | drivers/video/via/dvi.c | 4 | ||||
| -rw-r--r-- | drivers/video/vt8623fb.c | 2 |
14 files changed, 20 insertions, 20 deletions
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index d5e801076d33..3d886c6902f9 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c | |||
| @@ -964,7 +964,7 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev) | |||
| 964 | if (sinfo->atmel_lcdfb_power_control) | 964 | if (sinfo->atmel_lcdfb_power_control) |
| 965 | sinfo->atmel_lcdfb_power_control(1); | 965 | sinfo->atmel_lcdfb_power_control(1); |
| 966 | 966 | ||
| 967 | dev_info(dev, "fb%d: Atmel LCDC at 0x%08lx (mapped at %p), irq %lu\n", | 967 | dev_info(dev, "fb%d: Atmel LCDC at 0x%08lx (mapped at %p), irq %d\n", |
| 968 | info->node, info->fix.mmio_start, sinfo->mmio, sinfo->irq_base); | 968 | info->node, info->fix.mmio_start, sinfo->mmio, sinfo->irq_base); |
| 969 | 969 | ||
| 970 | return 0; | 970 | return 0; |
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index 913b4a47ae52..1ddeb4c34763 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
| @@ -3276,7 +3276,7 @@ static void __devinit aty_init_lcd(struct atyfb_par *par, u32 bios_base) | |||
| 3276 | txtformat = "24 bit interface"; | 3276 | txtformat = "24 bit interface"; |
| 3277 | break; | 3277 | break; |
| 3278 | default: | 3278 | default: |
| 3279 | txtformat = "unkown format"; | 3279 | txtformat = "unknown format"; |
| 3280 | } | 3280 | } |
| 3281 | } else { | 3281 | } else { |
| 3282 | switch (format & 7) { | 3282 | switch (format & 7) { |
| @@ -3299,7 +3299,7 @@ static void __devinit aty_init_lcd(struct atyfb_par *par, u32 bios_base) | |||
| 3299 | txtformat = "262144 colours (FDPI-2 mode)"; | 3299 | txtformat = "262144 colours (FDPI-2 mode)"; |
| 3300 | break; | 3300 | break; |
| 3301 | default: | 3301 | default: |
| 3302 | txtformat = "unkown format"; | 3302 | txtformat = "unknown format"; |
| 3303 | } | 3303 | } |
| 3304 | } | 3304 | } |
| 3305 | PRINTKI("%s%s %s monitor detected: %s\n", | 3305 | PRINTKI("%s%s %s monitor detected: %s\n", |
diff --git a/drivers/video/backlight/atmel-pwm-bl.c b/drivers/video/backlight/atmel-pwm-bl.c index 505c0823a105..2cf7ba52f67c 100644 --- a/drivers/video/backlight/atmel-pwm-bl.c +++ b/drivers/video/backlight/atmel-pwm-bl.c | |||
| @@ -158,7 +158,7 @@ static int atmel_pwm_bl_probe(struct platform_device *pdev) | |||
| 158 | goto err_free_pwm; | 158 | goto err_free_pwm; |
| 159 | } | 159 | } |
| 160 | 160 | ||
| 161 | /* Turn display off by defatult. */ | 161 | /* Turn display off by default. */ |
| 162 | retval = gpio_direction_output(pwmbl->gpio_on, | 162 | retval = gpio_direction_output(pwmbl->gpio_on, |
| 163 | 0 ^ pdata->on_active_low); | 163 | 0 ^ pdata->on_active_low); |
| 164 | if (retval) | 164 | if (retval) |
diff --git a/drivers/video/backlight/tosa_lcd.c b/drivers/video/backlight/tosa_lcd.c index 50ec17dfc517..fa32b94a4546 100644 --- a/drivers/video/backlight/tosa_lcd.c +++ b/drivers/video/backlight/tosa_lcd.c | |||
| @@ -177,7 +177,7 @@ static int __devinit tosa_lcd_probe(struct spi_device *spi) | |||
| 177 | if (!data) | 177 | if (!data) |
| 178 | return -ENOMEM; | 178 | return -ENOMEM; |
| 179 | 179 | ||
| 180 | data->is_vga = true; /* defaut to VGA mode */ | 180 | data->is_vga = true; /* default to VGA mode */ |
| 181 | 181 | ||
| 182 | /* | 182 | /* |
| 183 | * bits_per_word cannot be configured in platform data | 183 | * bits_per_word cannot be configured in platform data |
diff --git a/drivers/video/console/sticore.c b/drivers/video/console/sticore.c index 857b3668b3ba..6468a297e341 100644 --- a/drivers/video/console/sticore.c +++ b/drivers/video/console/sticore.c | |||
| @@ -436,7 +436,7 @@ sti_init_glob_cfg(struct sti_struct *sti, | |||
| 436 | (offs < PCI_BASE_ADDRESS_0 || | 436 | (offs < PCI_BASE_ADDRESS_0 || |
| 437 | offs > PCI_BASE_ADDRESS_5)) { | 437 | offs > PCI_BASE_ADDRESS_5)) { |
| 438 | printk (KERN_WARNING | 438 | printk (KERN_WARNING |
| 439 | "STI pci region maping for region %d (%02x) can't be mapped\n", | 439 | "STI pci region mapping for region %d (%02x) can't be mapped\n", |
| 440 | i,sti->rm_entry[i]); | 440 | i,sti->rm_entry[i]); |
| 441 | continue; | 441 | continue; |
| 442 | } | 442 | } |
diff --git a/drivers/video/fb_defio.c b/drivers/video/fb_defio.c index c27ab1ed9604..e59c08320886 100644 --- a/drivers/video/fb_defio.c +++ b/drivers/video/fb_defio.c | |||
| @@ -71,7 +71,7 @@ int fb_deferred_io_fsync(struct file *file, struct dentry *dentry, int datasync) | |||
| 71 | { | 71 | { |
| 72 | struct fb_info *info = file->private_data; | 72 | struct fb_info *info = file->private_data; |
| 73 | 73 | ||
| 74 | /* Skip if deferred io is complied-in but disabled on this fbdev */ | 74 | /* Skip if deferred io is compiled-in but disabled on this fbdev */ |
| 75 | if (!info->fbdefio) | 75 | if (!info->fbdefio) |
| 76 | return 0; | 76 | return 0; |
| 77 | 77 | ||
diff --git a/drivers/video/gbefb.c b/drivers/video/gbefb.c index f67db4268374..695fa013fe7e 100644 --- a/drivers/video/gbefb.c +++ b/drivers/video/gbefb.c | |||
| @@ -701,7 +701,7 @@ static int gbefb_set_par(struct fb_info *info) | |||
| 701 | blocks of 512x128, 256x128 or 128x128 pixels, respectively for 8bit, | 701 | blocks of 512x128, 256x128 or 128x128 pixels, respectively for 8bit, |
| 702 | 16bit and 32 bit modes (64 kB). They cover the screen with partial | 702 | 16bit and 32 bit modes (64 kB). They cover the screen with partial |
| 703 | tiles on the right and/or bottom of the screen if needed. | 703 | tiles on the right and/or bottom of the screen if needed. |
| 704 | For exemple in 640x480 8 bit mode the mapping is: | 704 | For example in 640x480 8 bit mode the mapping is: |
| 705 | 705 | ||
| 706 | <-------- 640 -----> | 706 | <-------- 640 -----> |
| 707 | <---- 512 ----><128|384 offscreen> | 707 | <---- 512 ----><128|384 offscreen> |
diff --git a/drivers/video/omap/lcd_ams_delta.c b/drivers/video/omap/lcd_ams_delta.c index 1f7439955e02..319a9a2bc236 100644 --- a/drivers/video/omap/lcd_ams_delta.c +++ b/drivers/video/omap/lcd_ams_delta.c | |||
| @@ -123,12 +123,12 @@ struct platform_driver ams_delta_panel_driver = { | |||
| 123 | }, | 123 | }, |
| 124 | }; | 124 | }; |
| 125 | 125 | ||
| 126 | static int ams_delta_panel_drv_init(void) | 126 | static int __init ams_delta_panel_drv_init(void) |
| 127 | { | 127 | { |
| 128 | return platform_driver_register(&ams_delta_panel_driver); | 128 | return platform_driver_register(&ams_delta_panel_driver); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | static void ams_delta_panel_drv_cleanup(void) | 131 | static void __exit ams_delta_panel_drv_cleanup(void) |
| 132 | { | 132 | { |
| 133 | platform_driver_unregister(&ams_delta_panel_driver); | 133 | platform_driver_unregister(&ams_delta_panel_driver); |
| 134 | } | 134 | } |
diff --git a/drivers/video/omap/lcd_mipid.c b/drivers/video/omap/lcd_mipid.c index 918ee8934196..d88a7928b341 100644 --- a/drivers/video/omap/lcd_mipid.c +++ b/drivers/video/omap/lcd_mipid.c | |||
| @@ -607,7 +607,7 @@ static struct spi_driver mipid_spi_driver = { | |||
| 607 | .remove = __devexit_p(mipid_spi_remove), | 607 | .remove = __devexit_p(mipid_spi_remove), |
| 608 | }; | 608 | }; |
| 609 | 609 | ||
| 610 | static int mipid_drv_init(void) | 610 | static int __init mipid_drv_init(void) |
| 611 | { | 611 | { |
| 612 | spi_register_driver(&mipid_spi_driver); | 612 | spi_register_driver(&mipid_spi_driver); |
| 613 | 613 | ||
| @@ -615,7 +615,7 @@ static int mipid_drv_init(void) | |||
| 615 | } | 615 | } |
| 616 | module_init(mipid_drv_init); | 616 | module_init(mipid_drv_init); |
| 617 | 617 | ||
| 618 | static void mipid_drv_cleanup(void) | 618 | static void __exit mipid_drv_cleanup(void) |
| 619 | { | 619 | { |
| 620 | spi_unregister_driver(&mipid_spi_driver); | 620 | spi_unregister_driver(&mipid_spi_driver); |
| 621 | } | 621 | } |
diff --git a/drivers/video/sgivwfb.c b/drivers/video/sgivwfb.c index bba53714a7b1..f86012239bff 100644 --- a/drivers/video/sgivwfb.c +++ b/drivers/video/sgivwfb.c | |||
| @@ -260,13 +260,13 @@ static int sgivwfb_check_var(struct fb_var_screeninfo *var, | |||
| 260 | var->grayscale = 0; /* No grayscale for now */ | 260 | var->grayscale = 0; /* No grayscale for now */ |
| 261 | 261 | ||
| 262 | /* determine valid resolution and timing */ | 262 | /* determine valid resolution and timing */ |
| 263 | for (min_mode = 0; min_mode < DBE_VT_SIZE; min_mode++) { | 263 | for (min_mode = 0; min_mode < ARRAY_SIZE(dbeVTimings); min_mode++) { |
| 264 | if (dbeVTimings[min_mode].width >= var->xres && | 264 | if (dbeVTimings[min_mode].width >= var->xres && |
| 265 | dbeVTimings[min_mode].height >= var->yres) | 265 | dbeVTimings[min_mode].height >= var->yres) |
| 266 | break; | 266 | break; |
| 267 | } | 267 | } |
| 268 | 268 | ||
| 269 | if (min_mode == DBE_VT_SIZE) | 269 | if (min_mode == ARRAY_SIZE(dbeVTimings)) |
| 270 | return -EINVAL; /* Resolution to high */ | 270 | return -EINVAL; /* Resolution to high */ |
| 271 | 271 | ||
| 272 | /* XXX FIXME - should try to pick best refresh rate */ | 272 | /* XXX FIXME - should try to pick best refresh rate */ |
diff --git a/drivers/video/stifb.c b/drivers/video/stifb.c index 6120f0c526fe..876648e15e9d 100644 --- a/drivers/video/stifb.c +++ b/drivers/video/stifb.c | |||
| @@ -756,9 +756,9 @@ hyperResetPlanes(struct stifb_info *fb, int enable) | |||
| 756 | if (fb->info.var.bits_per_pixel == 32) | 756 | if (fb->info.var.bits_per_pixel == 32) |
| 757 | controlPlaneReg = 0x04000F00; | 757 | controlPlaneReg = 0x04000F00; |
| 758 | else | 758 | else |
| 759 | controlPlaneReg = 0x00000F00; /* 0x00000800 should be enought, but lets clear all 4 bits */ | 759 | controlPlaneReg = 0x00000F00; /* 0x00000800 should be enough, but lets clear all 4 bits */ |
| 760 | else | 760 | else |
| 761 | controlPlaneReg = 0x00000F00; /* 0x00000100 should be enought, but lets clear all 4 bits */ | 761 | controlPlaneReg = 0x00000F00; /* 0x00000100 should be enough, but lets clear all 4 bits */ |
| 762 | 762 | ||
| 763 | switch (enable) { | 763 | switch (enable) { |
| 764 | case ENABLE: | 764 | case ENABLE: |
diff --git a/drivers/video/tdfxfb.c b/drivers/video/tdfxfb.c index ff43c8885028..980548390048 100644 --- a/drivers/video/tdfxfb.c +++ b/drivers/video/tdfxfb.c | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | * | 52 | * |
| 53 | * 0.1.3 (released 1999-11-02) added Attila's panning support, code | 53 | * 0.1.3 (released 1999-11-02) added Attila's panning support, code |
| 54 | * reorg, hwcursor address page size alignment | 54 | * reorg, hwcursor address page size alignment |
| 55 | * (for mmaping both frame buffer and regs), | 55 | * (for mmapping both frame buffer and regs), |
| 56 | * and my changes to get rid of hardcoded | 56 | * and my changes to get rid of hardcoded |
| 57 | * VGA i/o register locations (uses PCI | 57 | * VGA i/o register locations (uses PCI |
| 58 | * configuration info now) | 58 | * configuration info now) |
diff --git a/drivers/video/via/dvi.c b/drivers/video/via/dvi.c index c5c32b6b6e6c..67b36932212b 100644 --- a/drivers/video/via/dvi.c +++ b/drivers/video/via/dvi.c | |||
| @@ -467,7 +467,7 @@ static int dvi_get_panel_size_from_DDCv1(void) | |||
| 467 | default: | 467 | default: |
| 468 | viaparinfo->tmds_setting_info->dvi_panel_size = | 468 | viaparinfo->tmds_setting_info->dvi_panel_size = |
| 469 | VIA_RES_1024X768; | 469 | VIA_RES_1024X768; |
| 470 | DEBUG_MSG(KERN_INFO "Unknow panel size max resolution = %d !\ | 470 | DEBUG_MSG(KERN_INFO "Unknown panel size max resolution = %d !\ |
| 471 | set default panel size.\n", max_h); | 471 | set default panel size.\n", max_h); |
| 472 | break; | 472 | break; |
| 473 | } | 473 | } |
| @@ -534,7 +534,7 @@ static int dvi_get_panel_size_from_DDCv2(void) | |||
| 534 | default: | 534 | default: |
| 535 | viaparinfo->tmds_setting_info->dvi_panel_size = | 535 | viaparinfo->tmds_setting_info->dvi_panel_size = |
| 536 | VIA_RES_1024X768; | 536 | VIA_RES_1024X768; |
| 537 | DEBUG_MSG(KERN_INFO "Unknow panel size max resolution = %d!\ | 537 | DEBUG_MSG(KERN_INFO "Unknown panel size max resolution = %d!\ |
| 538 | set default panel size.\n", HSize); | 538 | set default panel size.\n", HSize); |
| 539 | break; | 539 | break; |
| 540 | } | 540 | } |
diff --git a/drivers/video/vt8623fb.c b/drivers/video/vt8623fb.c index 3df17dc8c3d7..65ccd215d496 100644 --- a/drivers/video/vt8623fb.c +++ b/drivers/video/vt8623fb.c | |||
| @@ -446,7 +446,7 @@ static int vt8623fb_set_par(struct fb_info *info) | |||
| 446 | 446 | ||
| 447 | svga_wseq_mask(0x1E, 0xF0, 0xF0); // DI/DVP bus | 447 | svga_wseq_mask(0x1E, 0xF0, 0xF0); // DI/DVP bus |
| 448 | svga_wseq_mask(0x2A, 0x0F, 0x0F); // DI/DVP bus | 448 | svga_wseq_mask(0x2A, 0x0F, 0x0F); // DI/DVP bus |
| 449 | svga_wseq_mask(0x16, 0x08, 0xBF); // FIFO read treshold | 449 | svga_wseq_mask(0x16, 0x08, 0xBF); // FIFO read threshold |
| 450 | vga_wseq(NULL, 0x17, 0x1F); // FIFO depth | 450 | vga_wseq(NULL, 0x17, 0x1F); // FIFO depth |
| 451 | vga_wseq(NULL, 0x18, 0x4E); | 451 | vga_wseq(NULL, 0x18, 0x4E); |
| 452 | svga_wseq_mask(0x1A, 0x08, 0x08); // enable MMIO ? | 452 | svga_wseq_mask(0x1A, 0x08, 0x08); // enable MMIO ? |
