summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/video/fbdev/omap
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/video/fbdev/omap')
-rw-r--r--kernel/drivers/video/fbdev/omap/Kconfig2
-rw-r--r--kernel/drivers/video/fbdev/omap/lcd_mipid.c1
-rw-r--r--kernel/drivers/video/fbdev/omap/omapfb_main.c5
3 files changed, 1 insertions, 7 deletions
diff --git a/kernel/drivers/video/fbdev/omap/Kconfig b/kernel/drivers/video/fbdev/omap/Kconfig
index 18c4cb0d5..29d250da8 100644
--- a/kernel/drivers/video/fbdev/omap/Kconfig
+++ b/kernel/drivers/video/fbdev/omap/Kconfig
@@ -42,7 +42,7 @@ config FB_OMAP_LCD_MIPID
config FB_OMAP_LCD_H3
bool "TPS65010 LCD controller on OMAP-H3"
depends on MACH_OMAP_H3
- depends on TPS65010
+ depends on TPS65010=y
default y
help
Say Y here if you want to have support for the LCD on the
diff --git a/kernel/drivers/video/fbdev/omap/lcd_mipid.c b/kernel/drivers/video/fbdev/omap/lcd_mipid.c
index 803fee618..0e4cee9a8 100644
--- a/kernel/drivers/video/fbdev/omap/lcd_mipid.c
+++ b/kernel/drivers/video/fbdev/omap/lcd_mipid.c
@@ -603,7 +603,6 @@ static int mipid_spi_remove(struct spi_device *spi)
static struct spi_driver mipid_spi_driver = {
.driver = {
.name = MIPID_MODULE_NAME,
- .owner = THIS_MODULE,
},
.probe = mipid_spi_probe,
.remove = mipid_spi_remove,
diff --git a/kernel/drivers/video/fbdev/omap/omapfb_main.c b/kernel/drivers/video/fbdev/omap/omapfb_main.c
index 1fb3ea3c9..393ae1bc0 100644
--- a/kernel/drivers/video/fbdev/omap/omapfb_main.c
+++ b/kernel/drivers/video/fbdev/omap/omapfb_main.c
@@ -276,11 +276,6 @@ static int _setcolreg(struct fb_info *info, u_int regno, u_int red, u_int green,
if (r != 0)
break;
- if (regno < 0) {
- r = -EINVAL;
- break;
- }
-
if (regno < 16) {
u16 pal;
pal = ((red >> (16 - var->red.length)) <<