Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6d83c067ebd11d375b34c53192c10826947e8568
Commit:     6d83c067ebd11d375b34c53192c10826947e8568
Parent:     7287d765d5f2e946fdffbcba36088c44ebb35912
Author:     Maciej W. Rozycki <[EMAIL PROTECTED]>
AuthorDate: Thu Feb 7 00:15:10 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Feb 7 08:42:24 2008 -0800

    dz: rename the serial console structure
    
    Rename the serial console structure so that `modpost' does not complain 
about
    a reference to an "init" section -- "_console" is magic.
    
    Signed-off-by: Maciej W. Rozycki <[EMAIL PROTECTED]>
    Cc: Jiri Slaby <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/serial/dz.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/serial/dz.c b/drivers/serial/dz.c
index 83dc75b..c2f8677 100644
--- a/drivers/serial/dz.c
+++ b/drivers/serial/dz.c
@@ -744,7 +744,7 @@ static int __init dz_console_setup(struct console *co, char 
*options)
 }
 
 static struct uart_driver dz_reg;
-static struct console dz_sercons = {
+static struct console dz_console = {
        .name   = "ttyS",
        .write  = dz_console_print,
        .device = uart_console_device,
@@ -758,7 +758,7 @@ static int __init dz_serial_console_init(void)
 {
        if (!IOASIC) {
                dz_init_ports();
-               register_console(&dz_sercons);
+               register_console(&dz_console);
                return 0;
        } else
                return -ENXIO;
@@ -766,7 +766,7 @@ static int __init dz_serial_console_init(void)
 
 console_initcall(dz_serial_console_init);
 
-#define SERIAL_DZ_CONSOLE      &dz_sercons
+#define SERIAL_DZ_CONSOLE      &dz_console
 #else
 #define SERIAL_DZ_CONSOLE      NULL
 #endif /* CONFIG_SERIAL_DZ_CONSOLE */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to