diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:22:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:22:48 -0400 |
commit | ef93127e4c7b4b8d46421045641048397eaac43d (patch) | |
tree | fbddc8f52e10d8d6eb45e08e02fecbc2ba023eea /drivers/serial | |
parent | 972d45fb43f0f0793fa275c4a22998106760cd61 (diff) | |
parent | 90a660a4546d6ba5ca5f3a23d5cc599db2b41e08 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SERIAL] sunsu: Fix section mismatch warnings.
[SPARC64]: pgtable_cache_init() should be __init.
[SPARC64]: Fix section mismatch warnings in arch/sparc64/kernel/prom.c
[SPARC64]: Fix section mismatch warnings in arch/sparc64/kernel/pci.c
[SPARC64]: Fix section mismatch warnings in arch/sparc64/kernel/console.c
[MM]: sparse_init() should be __init.
[SPARC64]: Update defconfig.
[VIDEO]: Add Sun XVR-2500 framebuffer driver.
[VIDEO]: Add Sun XVR-500 framebuffer driver.
[SPARC64]: SUN4U PCI-E controller support.
[SPARC]: Fix comment typo in smp4m_blackbox_current().
[SCSI] SUNESP: sun_esp.c needs linux/delay.h
Fix up conflict in arch/sparc64/mm/init.c manually due to removal of
pgtable_cache_init() through the -mm patches (even though that patch was
also by David ;)
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/sunsu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/serial/sunsu.c b/drivers/serial/sunsu.c index bfd44177a215..2a63cdba3208 100644 --- a/drivers/serial/sunsu.c +++ b/drivers/serial/sunsu.c | |||
@@ -1312,7 +1312,7 @@ static void sunsu_console_write(struct console *co, const char *s, | |||
1312 | * - initialize the serial port | 1312 | * - initialize the serial port |
1313 | * Return non-zero if we didn't find a serial port. | 1313 | * Return non-zero if we didn't find a serial port. |
1314 | */ | 1314 | */ |
1315 | static int sunsu_console_setup(struct console *co, char *options) | 1315 | static int __init sunsu_console_setup(struct console *co, char *options) |
1316 | { | 1316 | { |
1317 | struct uart_port *port; | 1317 | struct uart_port *port; |
1318 | int baud = 9600; | 1318 | int baud = 9600; |
@@ -1343,7 +1343,7 @@ static int sunsu_console_setup(struct console *co, char *options) | |||
1343 | return uart_set_options(port, co, baud, parity, bits, flow); | 1343 | return uart_set_options(port, co, baud, parity, bits, flow); |
1344 | } | 1344 | } |
1345 | 1345 | ||
1346 | static struct console sunsu_cons = { | 1346 | static struct console sunsu_console = { |
1347 | .name = "ttyS", | 1347 | .name = "ttyS", |
1348 | .write = sunsu_console_write, | 1348 | .write = sunsu_console_write, |
1349 | .device = uart_console_device, | 1349 | .device = uart_console_device, |
@@ -1373,9 +1373,9 @@ static inline struct console *SUNSU_CONSOLE(int num_uart) | |||
1373 | if (i == num_uart) | 1373 | if (i == num_uart) |
1374 | return NULL; | 1374 | return NULL; |
1375 | 1375 | ||
1376 | sunsu_cons.index = i; | 1376 | sunsu_console.index = i; |
1377 | 1377 | ||
1378 | return &sunsu_cons; | 1378 | return &sunsu_console; |
1379 | } | 1379 | } |
1380 | #else | 1380 | #else |
1381 | #define SUNSU_CONSOLE(num_uart) (NULL) | 1381 | #define SUNSU_CONSOLE(num_uart) (NULL) |