Skip to contentSkip to conversation

TTY: bfin_jtag_comm: fix incorrect placement of __initdata tag

PATCH New Bartlomiej Zolnierkiewicz 1 participant 1 message Sep 30, 2013 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TTY: bfin_jtag_comm: fix incorrect placement of __initdata tag

__initdata tag should be placed between the variable name and equal sign for the variable to be placed in the intended .init.data section.

---
 drivers/tty/bfin_jtag_comm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/bfin_jtag_comm.c +1 -1
index a93a424..8096fcb 100644
@@ -349,7 +349,7 @@ bfin_jc_early_write(struct console *co, const char *buf, unsigned int count)
 	bfin_jc_straight_buffer_write(buf, count);
 }
 
-static struct __initdata console bfin_jc_early_console = {
+static struct console bfin_jc_early_console __initdata = {
 	.name   = "early_BFJC",
 	.write   = bfin_jc_early_write,
 	.flags   = CON_ANYTIME | CON_PRINTBUFFER,
Signature · 1 line
1.8.2.3