Skip to contentSkip to conversation

sunzilog: section mismatch fix

PATCH In review Krzysztof Helt 2 participants 2 messages May 19, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunzilog: section mismatch fix

From: Krzysztof Helt <[email protected]>

This patch fixes section mismatch warnings in the sunzilog driver.

---

Diff-ed agains 2.6.22-rc2

drivers/serial/sunzilog.c +2 -2
@@ -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;
 
#1 lore raw

From: Krzysztof Helt <[email protected]>
Date: Sun, 20 May 2007 19:47:14 +0200

Quoted 5 lines

From: Krzysztof Helt <[email protected]>

This patch fixes section mismatch warnings in the sunzilog driver.

Your patch was space and tab corrupted so I had to apply this patch by hand.

Seeing how you used an attachment for the previous patch, it's clear why this one was corrupt because you inlined it instead of attaching.