aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2013-03-25 16:27:19 -0400
committerRalf Baechle <ralf@linux-mips.org>2013-05-07 19:19:06 -0400
commit88564dda0ec6fe10c5503d53c2205616ff1eaab2 (patch)
treefd87daefb0084ec0ff050dc4f90d550ea26334e5 /drivers/video
parent83a18415ba295c25d94bdc81fdb3a18fc1c2ce4e (diff)
MIPS: remove obsolete Kconfig macros
The support for PB1100, PB1500, and PB1550 got merged into the code for DB1000 and DB1550 code in v3.7. When that was done the three related Kconfig symbols were dropped. But not all related Kconfig macros were removed. Do so now. Note that the PB1100 code in the Au1100 LCD driver is removed entirely and not converted to use its current Kconfig macro. That is done because the macros it uses (PB1100_G_CONTROL, PB1100_G_CONTROL_BL, and PB1100_G_CONTROL_VDD) are never defined. Actually only one of these was ever defined (PB1100_G_CONTROL) but that define was removed in v2.6.34. So, as far as I can tell, this code could have never compiled. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Patchwork: http://patchwork.linux-mips.org/patch/5040/ Acked-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/au1100fb.c22
1 files changed, 4 insertions, 18 deletions
diff --git a/drivers/video/au1100fb.c b/drivers/video/au1100fb.c
index ddabaa867b0d..700cac067b46 100644
--- a/drivers/video/au1100fb.c
+++ b/drivers/video/au1100fb.c
@@ -111,30 +111,16 @@ static int au1100fb_fb_blank(int blank_mode, struct fb_info *fbi)
111 switch (blank_mode) { 111 switch (blank_mode) {
112 112
113 case VESA_NO_BLANKING: 113 case VESA_NO_BLANKING:
114 /* Turn on panel */ 114 /* Turn on panel */
115 fbdev->regs->lcd_control |= LCD_CONTROL_GO; 115 fbdev->regs->lcd_control |= LCD_CONTROL_GO;
116#ifdef CONFIG_MIPS_PB1100
117 if (fbdev->panel_idx == 1) {
118 au_writew(au_readw(PB1100_G_CONTROL)
119 | (PB1100_G_CONTROL_BL | PB1100_G_CONTROL_VDD),
120 PB1100_G_CONTROL);
121 }
122#endif
123 au_sync(); 116 au_sync();
124 break; 117 break;
125 118
126 case VESA_VSYNC_SUSPEND: 119 case VESA_VSYNC_SUSPEND:
127 case VESA_HSYNC_SUSPEND: 120 case VESA_HSYNC_SUSPEND:
128 case VESA_POWERDOWN: 121 case VESA_POWERDOWN:
129 /* Turn off panel */ 122 /* Turn off panel */
130 fbdev->regs->lcd_control &= ~LCD_CONTROL_GO; 123 fbdev->regs->lcd_control &= ~LCD_CONTROL_GO;
131#ifdef CONFIG_MIPS_PB1100
132 if (fbdev->panel_idx == 1) {
133 au_writew(au_readw(PB1100_G_CONTROL)
134 & ~(PB1100_G_CONTROL_BL | PB1100_G_CONTROL_VDD),
135 PB1100_G_CONTROL);
136 }
137#endif
138 au_sync(); 124 au_sync();
139 break; 125 break;
140 default: 126 default: