summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/bfin_sport_uart.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-08 17:10:50 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-12 11:37:47 -0700
commit20246fdfe2cc8d8f94ab69b8e816e6762a4c56c7 (patch)
treedb64b3d7f224c103369c18217b1484e3477a86a7 /drivers/tty/serial/bfin_sport_uart.c
parentfbf3ab279127bba325ac93dc1315d221cfd04115 (diff)
downloadlinux-20246fdfe2cc8d8f94ab69b8e816e6762a4c56c7.tar.gz
linux-20246fdfe2cc8d8f94ab69b8e816e6762a4c56c7.tar.bz2
linux-20246fdfe2cc8d8f94ab69b8e816e6762a4c56c7.zip
serial: bfin_sport_uart: Fix incorrect placement of __initdata
__initdata should be placed between the variable name and equal sign for the variable to be placed in the intended section. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/bfin_sport_uart.c')
-rw-r--r--drivers/tty/serial/bfin_sport_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/bfin_sport_uart.c b/drivers/tty/serial/bfin_sport_uart.c
index 424ed36c26f1..016c3e9d916c 100644
--- a/drivers/tty/serial/bfin_sport_uart.c
+++ b/drivers/tty/serial/bfin_sport_uart.c
@@ -884,7 +884,7 @@ static struct platform_driver sport_uart_driver = {
};
#ifdef CONFIG_SERIAL_BFIN_SPORT_CONSOLE
-static __initdata struct early_platform_driver early_sport_uart_driver = {
+static struct early_platform_driver early_sport_uart_driver __initdata = {
.class_str = CLASS_BFIN_SPORT_CONSOLE,
.pdrv = &sport_uart_driver,
.requested_id = EARLY_PLATFORM_ID_UNSET,