diff options
-rw-r--r-- | drivers/serial/uartlite.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/serial/uartlite.c b/drivers/serial/uartlite.c index ae05a67d9dbe..10e0da97811e 100644 --- a/drivers/serial/uartlite.c +++ b/drivers/serial/uartlite.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/interrupt.h> | 18 | #include <linux/interrupt.h> |
19 | #include <asm/io.h> | 19 | #include <asm/io.h> |
20 | 20 | ||
21 | #define ULITE_NAME "ttyUL" | ||
21 | #define ULITE_MAJOR 204 | 22 | #define ULITE_MAJOR 204 |
22 | #define ULITE_MINOR 187 | 23 | #define ULITE_MINOR 187 |
23 | #define ULITE_NR_UARTS 4 | 24 | #define ULITE_NR_UARTS 4 |
@@ -381,7 +382,7 @@ static int __init ulite_console_setup(struct console *co, char *options) | |||
381 | static struct uart_driver ulite_uart_driver; | 382 | static struct uart_driver ulite_uart_driver; |
382 | 383 | ||
383 | static struct console ulite_console = { | 384 | static struct console ulite_console = { |
384 | .name = "ttyUL", | 385 | .name = ULITE_NAME, |
385 | .write = ulite_console_write, | 386 | .write = ulite_console_write, |
386 | .device = uart_console_device, | 387 | .device = uart_console_device, |
387 | .setup = ulite_console_setup, | 388 | .setup = ulite_console_setup, |
@@ -403,7 +404,7 @@ console_initcall(ulite_console_init); | |||
403 | static struct uart_driver ulite_uart_driver = { | 404 | static struct uart_driver ulite_uart_driver = { |
404 | .owner = THIS_MODULE, | 405 | .owner = THIS_MODULE, |
405 | .driver_name = "uartlite", | 406 | .driver_name = "uartlite", |
406 | .dev_name = "ttyUL", | 407 | .dev_name = ULITE_NAME, |
407 | .major = ULITE_MAJOR, | 408 | .major = ULITE_MAJOR, |
408 | .minor = ULITE_MINOR, | 409 | .minor = ULITE_MINOR, |
409 | .nr = ULITE_NR_UARTS, | 410 | .nr = ULITE_NR_UARTS, |