aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-05-23 12:12:26 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-23 12:12:26 -0400
commit57d19e80f459dd845fb3cfeba8e6df8471bac142 (patch)
tree8254766715720228db3d50f1ef3c7fe003c06d65 /drivers/video
parentee9ec4f82049c678373a611ce20ac67fe9ad836e (diff)
parente64851f5a0ad6ec991f74ebb3108c35aa0323d5f (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits) b43: fix comment typo reqest -> request Haavard Skinnemoen has left Atmel cris: typo in mach-fs Makefile Kconfig: fix copy/paste-ism for dell-wmi-aio driver doc: timers-howto: fix a typo ("unsgined") perf: Only include annotate.h once in tools/perf/util/ui/browsers/annotate.c md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course'). treewide: fix a few typos in comments regulator: change debug statement be consistent with the style of the rest Revert "arm: mach-u300/gpio: Fix mem_region resource size miscalculations" audit: acquire creds selectively to reduce atomic op overhead rtlwifi: don't touch with treewide double semicolon removal treewide: cleanup continuations and remove logging message whitespace ath9k_hw: don't touch with treewide double semicolon removal include/linux/leds-regulator.h: fix syntax in example code tty: fix typo in descripton of tty_termios_encode_baud_rate xtensa: remove obsolete BKL kernel option from defconfig m68k: fix comment typo 'occcured' arch:Kconfig.locks Remove unused config option. treewide: remove extra semicolons ...
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/ltv350qv.c2
-rw-r--r--drivers/video/console/newport_con.c2
-rw-r--r--drivers/video/msm/mddi.c2
-rw-r--r--drivers/video/mxsfb.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/backlight/ltv350qv.c b/drivers/video/backlight/ltv350qv.c
index dd0e84a9bd2f..cca43c06d3c8 100644
--- a/drivers/video/backlight/ltv350qv.c
+++ b/drivers/video/backlight/ltv350qv.c
@@ -333,7 +333,7 @@ static void __exit ltv350qv_exit(void)
333module_init(ltv350qv_init); 333module_init(ltv350qv_init);
334module_exit(ltv350qv_exit); 334module_exit(ltv350qv_exit);
335 335
336MODULE_AUTHOR("Haavard Skinnemoen <hskinnemoen@atmel.com>"); 336MODULE_AUTHOR("Haavard Skinnemoen (Atmel)");
337MODULE_DESCRIPTION("Samsung LTV350QV LCD Driver"); 337MODULE_DESCRIPTION("Samsung LTV350QV LCD Driver");
338MODULE_LICENSE("GPL"); 338MODULE_LICENSE("GPL");
339MODULE_ALIAS("spi:ltv350qv"); 339MODULE_ALIAS("spi:ltv350qv");
diff --git a/drivers/video/console/newport_con.c b/drivers/video/console/newport_con.c
index 3772433c49d1..93317b5b8740 100644
--- a/drivers/video/console/newport_con.c
+++ b/drivers/video/console/newport_con.c
@@ -6,7 +6,7 @@
6 * 6 *
7 * This driver is based on sgicons.c and cons_newport. 7 * This driver is based on sgicons.c and cons_newport.
8 * 8 *
9 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) 9 * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
10 * Copyright (C) 1997 Miguel de Icaza (miguel@nuclecu.unam.mx) 10 * Copyright (C) 1997 Miguel de Icaza (miguel@nuclecu.unam.mx)
11 */ 11 */
12#include <linux/init.h> 12#include <linux/init.h>
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c
index b66d86ac7cea..178b0720bd79 100644
--- a/drivers/video/msm/mddi.c
+++ b/drivers/video/msm/mddi.c
@@ -679,7 +679,7 @@ static int __devinit mddi_probe(struct platform_device *pdev)
679 printk(KERN_ERR "mddi: no associated mem resource!\n"); 679 printk(KERN_ERR "mddi: no associated mem resource!\n");
680 return -ENOMEM; 680 return -ENOMEM;
681 } 681 }
682 mddi->base = ioremap(resource->start, resource->end - resource->start); 682 mddi->base = ioremap(resource->start, resource_size(resource));
683 if (!mddi->base) { 683 if (!mddi->base) {
684 printk(KERN_ERR "mddi: failed to remap base!\n"); 684 printk(KERN_ERR "mddi: failed to remap base!\n");
685 ret = -EINVAL; 685 ret = -EINVAL;
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 7d0284882984..0b2f2dd41416 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -401,7 +401,7 @@ static int mxsfb_set_par(struct fb_info *fb_info)
401 writel(CTRL1_FIFO_CLEAR, host->base + LCDC_CTRL1 + REG_SET); 401 writel(CTRL1_FIFO_CLEAR, host->base + LCDC_CTRL1 + REG_SET);
402 402
403 ctrl = CTRL_BYPASS_COUNT | CTRL_MASTER | 403 ctrl = CTRL_BYPASS_COUNT | CTRL_MASTER |
404 CTRL_SET_BUS_WIDTH(host->ld_intf_width);; 404 CTRL_SET_BUS_WIDTH(host->ld_intf_width);
405 405
406 switch (fb_info->var.bits_per_pixel) { 406 switch (fb_info->var.bits_per_pixel) {
407 case 16: 407 case 16: