RE: [PATCH 1/2] serial: bfin_sport_uart: Fix incorrect placement of __initdata

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

 



Acked-by: Sonic Zhang<sonic.zhang@xxxxxxxxxx>

>-----Original Message-----
>From: Sachin Kamat [mailto:sachin.kamat@xxxxxxxxxx]
>Sent: Thursday, August 08, 2013 7:41 PM
>To: linux-serial@xxxxxxxxxxxxxxx
>Cc: uclinux-dist-devel@xxxxxxxxxxxxxxxxxxxx; gregkh@xxxxxxxxxxxxxxxxxxx;
>jslaby@xxxxxxx; sachin.kamat@xxxxxxxxxx; Zhang, Sonic
>Subject: [PATCH 1/2] 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@xxxxxxxxxx>
>Cc: Sonic Zhang <sonic.zhang@xxxxxxxxxx>
>---
> drivers/tty/serial/bfin_sport_uart.c |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/tty/serial/bfin_sport_uart.c b/drivers/tty/serial/bfin_sport_uart.c
>index 424ed36..016c3e9 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,
>--
>1.7.9.5
>


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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux