[PATCH] sunzilog: section mismatch fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Krzysztof Helt <krzysztof.h1@xxxxx>

This patch fixes section mismatch warnings in the sunzilog driver.

Signed-off-by: Krzysztof Helt <krzysztof.h1@xxxxx>

---

Diff-ed agains 2.6.22-rc2

--- linux-2.6.21/drivers/serial/sunzilog.c	2007-05-20 18:45:03.687231937 +0200
+++ linux-2.6.21.new/drivers/serial/sunzilog.c	2007-05-20 19:43:00.297352656 +0200
@@ -1239,7 +1239,7 @@ static inline struct console *SUNZILOG_C
 #define SUNZILOG_CONSOLE()	(NULL)
 #endif

-static void __init sunzilog_init_kbdms(struct uart_sunzilog_port *up, int channel)
+static void __devinit sunzilog_init_kbdms(struct uart_sunzilog_port *up, int channel)
 {
 	int baud, brg;

@@ -1259,7 +1259,7 @@ static void __init sunzilog_init_kbdms(s
 }

 #ifdef CONFIG_SERIO
-static void __init sunzilog_register_serio(struct uart_sunzilog_port *up)
+static void __devinit sunzilog_register_serio(struct uart_sunzilog_port *up)
 {
 	struct serio *serio = &up->serio;

-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux