Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=486cab2ba25b469f7a8822e84fd43960a472e3d9
Commit:     486cab2ba25b469f7a8822e84fd43960a472e3d9
Parent:     28c670cb9b0df7c8579f78c9d06e148896378cf4
Author:     Andrew Victor <[EMAIL PROTECTED]>
AuthorDate: Mon May 28 10:47:19 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Wed May 30 13:15:19 2007 +0100

    [ARM] 4411/1: KS8695: Another serial driver fix
    
    Fix a error reported by newer versions of GCC.
    error: static declaration of 'ks8695_reg' follows non-static declaration
    
    Signed-off-by: Andrew Victor <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 drivers/serial/serial_ks8695.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/serial/serial_ks8695.c b/drivers/serial/serial_ks8695.c
index 698763b..8721afe 100644
--- a/drivers/serial/serial_ks8695.c
+++ b/drivers/serial/serial_ks8695.c
@@ -589,7 +589,7 @@ static int __init ks8695_console_setup(struct console *co, 
char *options)
        return uart_set_options(port, co, baud, parity, bits, flow);
 }
 
-extern struct uart_driver ks8695_reg;
+static struct uart_driver ks8695_reg;
 
 static struct console ks8695_console = {
        .name           = SERIAL_KS8695_DEVNAME,
-
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