]> git.karo-electronics.de Git - linux-beck.git/commitdiff
serial: bfin_sport_uart: Fix incorrect placement of __initdata
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 8 Aug 2013 11:40:50 +0000 (17:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 18:37:47 +0000 (11:37 -0700)
__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>
drivers/tty/serial/bfin_sport_uart.c

index 424ed36c26f1c4ec9652b2cd77c91162307d7de1..016c3e9d916cec80c3c99b080a188c9b03828a27 100644 (file)
@@ -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,