aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/mach-n30.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-07-07 13:12:48 -0400
committerBen Dooks <ben-linux@fluff.org>2008-07-07 13:13:05 -0400
commita67557801aeda1f9f19e4606a00c948f6054417c (patch)
tree2afcdd98cbd5299f81d368dfeec14f5385cbe0b3 /arch/arm/mach-s3c2410/mach-n30.c
parent9a2ddb7866c2887352e85c6443dfb5e679140aff (diff)
[ARM] Acer n30: Minor style and indentation fixes.
Minor style fixes. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-n30.c')
-rw-r--r--arch/arm/mach-s3c2410/mach-n30.c56
1 files changed, 28 insertions, 28 deletions
diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c
index 450d10823f83..43c2e915c5bf 100644
--- a/arch/arm/mach-s3c2410/mach-n30.c
+++ b/arch/arm/mach-s3c2410/mach-n30.c
@@ -84,18 +84,17 @@ static struct s3c2410_uartcfg n30_uartcfgs[] = {
84 84
85static void n30_udc_pullup(enum s3c2410_udc_cmd_e cmd) 85static void n30_udc_pullup(enum s3c2410_udc_cmd_e cmd)
86{ 86{
87 switch (cmd) 87 switch (cmd) {
88 { 88 case S3C2410_UDC_P_ENABLE :
89 case S3C2410_UDC_P_ENABLE : 89 s3c2410_gpio_setpin(S3C2410_GPB3, 1);
90 s3c2410_gpio_setpin(S3C2410_GPB3, 1); 90 break;
91 break; 91 case S3C2410_UDC_P_DISABLE :
92 case S3C2410_UDC_P_DISABLE : 92 s3c2410_gpio_setpin(S3C2410_GPB3, 0);
93 s3c2410_gpio_setpin(S3C2410_GPB3, 0); 93 break;
94 break; 94 case S3C2410_UDC_P_RESET :
95 case S3C2410_UDC_P_RESET : 95 break;
96 break; 96 default:
97 default: 97 break;
98 break;
99 } 98 }
100} 99}
101 100
@@ -293,28 +292,29 @@ static struct platform_device n30_warning_led = {
293}; 292};
294 293
295static struct s3c2410fb_display n30_display __initdata = { 294static struct s3c2410fb_display n30_display __initdata = {
296 .type = S3C2410_LCDCON1_TFT, 295 .type = S3C2410_LCDCON1_TFT,
297 .width = 240, 296 .width = 240,
298 .height = 320, 297 .height = 320,
299 .pixclock = 170000, 298 .pixclock = 170000,
300 .xres = 240, 299
301 .yres = 320, 300 .xres = 240,
302 .bpp = 16, 301 .yres = 320,
303 .left_margin = 3, 302 .bpp = 16,
304 .right_margin = 40, 303 .left_margin = 3,
305 .hsync_len = 40, 304 .right_margin = 40,
306 .upper_margin = 2, 305 .hsync_len = 40,
307 .lower_margin = 3, 306 .upper_margin = 2,
308 .vsync_len = 2, 307 .lower_margin = 3,
308 .vsync_len = 2,
309 309
310 .lcdcon5 = S3C2410_LCDCON5_INVVLINE | S3C2410_LCDCON5_INVVFRAME, 310 .lcdcon5 = S3C2410_LCDCON5_INVVLINE | S3C2410_LCDCON5_INVVFRAME,
311}; 311};
312 312
313static struct s3c2410fb_mach_info n30_fb_info __initdata = { 313static struct s3c2410fb_mach_info n30_fb_info __initdata = {
314 .displays = &n30_display, 314 .displays = &n30_display,
315 .num_displays = 1, 315 .num_displays = 1,
316 .default_display = 0, 316 .default_display = 0,
317 .lpcsel= 0x06, 317 .lpcsel = 0x06,
318}; 318};
319 319
320static struct platform_device *n30_devices[] __initdata = { 320static struct platform_device *n30_devices[] __initdata = {