aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/mach-h1940.c
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2007-10-16 04:28:58 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:16 -0400
commitf28ef573ad09596b771b67c276bbc5f49281fa9d (patch)
tree5061be2ae82f513a8c23e220b8a97f30b08ec34a /arch/arm/mach-s3c2410/mach-h1940.c
parent9939a481cd66a109e4ad09328df1bd0540e0aa84 (diff)
s3c2410fb: remove lcdcon3 register from s3c2410fb_display
This patch removes unused lcdcon3 register from the s3c2410fb_display structure. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-h1940.c')
-rw-r--r--arch/arm/mach-s3c2410/mach-h1940.c36
1 files changed, 15 insertions, 21 deletions
diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c
index 372caa289f2b..52d7685180c4 100644
--- a/arch/arm/mach-s3c2410/mach-h1940.c
+++ b/arch/arm/mach-s3c2410/mach-h1940.c
@@ -134,27 +134,21 @@ static struct s3c2410_udc_mach_info h1940_udc_cfg __initdata = {
134 * Set lcd on or off 134 * Set lcd on or off
135 **/ 135 **/
136static struct s3c2410fb_display h1940_lcd __initdata = { 136static struct s3c2410fb_display h1940_lcd __initdata = {
137 .regs={ 137 .lcdcon1= S3C2410_LCDCON1_TFT16BPP | \
138 .lcdcon1= S3C2410_LCDCON1_TFT16BPP | \ 138 S3C2410_LCDCON1_TFT | \
139 S3C2410_LCDCON1_TFT | \ 139 S3C2410_LCDCON1_CLKVAL(0x0C),
140 S3C2410_LCDCON1_CLKVAL(0x0C), 140
141 141 .lcdcon2= S3C2410_LCDCON2_VBPD(7) | \
142 .lcdcon2= S3C2410_LCDCON2_VBPD(7) | \ 142 S3C2410_LCDCON2_LINEVAL(319) | \
143 S3C2410_LCDCON2_LINEVAL(319) | \ 143 S3C2410_LCDCON2_VFPD(6) | \
144 S3C2410_LCDCON2_VFPD(6) | \ 144 S3C2410_LCDCON2_VSPW(0),
145 S3C2410_LCDCON2_VSPW(0), 145
146 146 .lcdcon4= S3C2410_LCDCON4_MVAL(0) | \
147 .lcdcon3= S3C2410_LCDCON3_HBPD(19) | \ 147 S3C2410_LCDCON4_HSPW(3),
148 S3C2410_LCDCON3_HOZVAL(239) | \ 148
149 S3C2410_LCDCON3_HFPD(7), 149 .lcdcon5= S3C2410_LCDCON5_FRM565 | \
150 150 S3C2410_LCDCON5_INVVLINE | \
151 .lcdcon4= S3C2410_LCDCON4_MVAL(0) | \ 151 S3C2410_LCDCON5_HWSWP,
152 S3C2410_LCDCON4_HSPW(3),
153
154 .lcdcon5= S3C2410_LCDCON5_FRM565 | \
155 S3C2410_LCDCON5_INVVLINE | \
156 S3C2410_LCDCON5_HWSWP,
157 },
158 152
159 .type = S3C2410_LCDCON1_TFT, 153 .type = S3C2410_LCDCON1_TFT,
160 .width = 240, 154 .width = 240,