aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/mach-smartq7.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2010-08-10 21:02:44 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 11:59:12 -0400
commitdaf695fca877068d7533a1b431b09210e5ad0b6b (patch)
treefb7587351d95f20691c01b32a2c1266ddbfb45fb /arch/arm/mach-s3c64xx/mach-smartq7.c
parent2bb567a38950f0917aecfe1a3e46720d8bbb0020 (diff)
arm: samsung: remove pixclock from several boards
Since "s3c-fb: Automatically calculate pixel clock when none is given", there's no need for manually calculating the pixel clock anymore so remove these lines and add the correct refresh rate where appropriately. Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> Cc: Pawel Osciak <p.osciak@samsung.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: InKi Dae <inki.dae@samsung.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-smartq7.c')
-rw-r--r--arch/arm/mach-s3c64xx/mach-smartq7.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-smartq7.c b/arch/arm/mach-s3c64xx/mach-smartq7.c
index e0bc78ecb156..0ecf45137546 100644
--- a/arch/arm/mach-s3c64xx/mach-smartq7.c
+++ b/arch/arm/mach-s3c64xx/mach-smartq7.c
@@ -150,8 +150,6 @@ static struct platform_device smartq7_buttons_device = {
150 150
151static struct s3c_fb_pd_win smartq7_fb_win0 = { 151static struct s3c_fb_pd_win smartq7_fb_win0 = {
152 .win_mode = { 152 .win_mode = {
153 .pixclock = 1000000000000ULL /
154 ((3+10+5+800)*(1+3+20+480)*80),
155 .left_margin = 3, 153 .left_margin = 3,
156 .right_margin = 5, 154 .right_margin = 5,
157 .upper_margin = 1, 155 .upper_margin = 1,
@@ -160,6 +158,7 @@ static struct s3c_fb_pd_win smartq7_fb_win0 = {
160 .vsync_len = 3, 158 .vsync_len = 3,
161 .xres = 800, 159 .xres = 800,
162 .yres = 480, 160 .yres = 480,
161 .refresh = 80,
163 }, 162 },
164 .max_bpp = 32, 163 .max_bpp = 32,
165 .default_bpp = 16, 164 .default_bpp = 16,