Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258777
b: refs/heads/master
c: 5822a5d
h: refs/heads/master
i:
  258775: ba772ec
v: v3
  • Loading branch information
Thomas Abraham authored and Kukjin Kim committed Jul 20, 2011
1 parent d4e516c commit ee7e10e
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 36 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ee430f16251de889ddf8e303970713d9fba9a3f5
refs/heads/master: 5822a5df5ee2bbb2a98a4baadf065829e191395f
2 changes: 0 additions & 2 deletions trunk/drivers/tty/serial/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ static struct platform_driver s3c2410_serial_driver = {
},
};

s3c24xx_console_init(&s3c2410_serial_driver, &s3c2410_uart_inf);

static int __init s3c2410_serial_init(void)
{
return s3c24xx_serial_init(&s3c2410_serial_driver, &s3c2410_uart_inf);
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/tty/serial/s3c2412.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ static struct platform_driver s3c2412_serial_driver = {
},
};

s3c24xx_console_init(&s3c2412_serial_driver, &s3c2412_uart_inf);

static inline int s3c2412_serial_init(void)
{
return s3c24xx_serial_init(&s3c2412_serial_driver, &s3c2412_uart_inf);
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/tty/serial/s3c2440.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ static struct platform_driver s3c2440_serial_driver = {
},
};

s3c24xx_console_init(&s3c2440_serial_driver, &s3c2440_uart_inf);

static int __init s3c2440_serial_init(void)
{
return s3c24xx_serial_init(&s3c2440_serial_driver, &s3c2440_uart_inf);
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/tty/serial/s3c6400.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ static struct platform_driver s3c6400_serial_driver = {
},
};

s3c24xx_console_init(&s3c6400_serial_driver, &s3c6400_uart_inf);

static int __init s3c6400_serial_init(void)
{
return s3c24xx_serial_init(&s3c6400_serial_driver, &s3c6400_uart_inf);
Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/tty/serial/s5pv210.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,6 @@ static struct platform_driver s5p_serial_driver = {
},
};

static int __init s5pv210_serial_console_init(void)
{
return s3c24xx_serial_initconsole(&s5p_serial_driver, s5p_uart_inf);
}

console_initcall(s5pv210_serial_console_init);

static int __init s5p_serial_init(void)
{
return s3c24xx_serial_init(&s5p_serial_driver, *s5p_uart_inf);
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/tty/serial/samsung.c
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,8 @@ static struct console s3c24xx_serial_console = {
.flags = CON_PRINTBUFFER,
.index = -1,
.write = s3c24xx_serial_console_write,
.setup = s3c24xx_serial_console_setup
.setup = s3c24xx_serial_console_setup,
.data = &s3c24xx_uart_drv,
};

int s3c24xx_serial_initconsole(struct platform_driver *drv,
Expand Down
19 changes: 0 additions & 19 deletions trunk/drivers/tty/serial/samsung.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,25 +79,6 @@ extern int s3c24xx_serial_initconsole(struct platform_driver *drv,
extern int s3c24xx_serial_init(struct platform_driver *drv,
struct s3c24xx_uart_info *info);

#ifdef CONFIG_SERIAL_SAMSUNG_CONSOLE

#define s3c24xx_console_init(__drv, __inf) \
static int __init s3c_serial_console_init(void) \
{ \
struct s3c24xx_uart_info *uinfo[CONFIG_SERIAL_SAMSUNG_UARTS]; \
int i; \
\
for (i = 0; i < CONFIG_SERIAL_SAMSUNG_UARTS; i++) \
uinfo[i] = __inf; \
return s3c24xx_serial_initconsole(__drv, uinfo); \
} \
\
console_initcall(s3c_serial_console_init)

#else
#define s3c24xx_console_init(drv, inf) extern void no_console(void)
#endif

#ifdef CONFIG_SERIAL_SAMSUNG_DEBUG

extern void printascii(const char *);
Expand Down

0 comments on commit ee7e10e

Please sign in to comment.