[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <52499D66.9070203@atmel.com>
Date: Mon, 30 Sep 2013 17:48:54 +0200
From: Nicolas Ferre <nicolas.ferre@...el.com>
To: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
"Jean-Christophe Plagniol-Villard" <plagnioj@...osoft.com>,
<linux-arm-kernel@...ts.infradead.org>
CC: Andrew Victor <linux@...im.org.za>, <linux-kernel@...r.kernel.org>,
Kyungmin Park <kyungmin.park@...sung.com>
Subject: Re: [PATCH v2] ARM: at91: cam60: fix incorrect placement of __initdata
tag
On 30/09/2013 17:38, Bartlomiej Zolnierkiewicz :
> __initdata tag should be placed between the variable name and equal
> sign for the variable to be placed in the intended .init.data section.
Yes, okay. But please do not mix the removal of white lines with your
modification.
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@...sung.com>
Anyway, no need to resend it:
Acked-by: Nicolas Ferre <nicolas.ferre@...el.com>
> ---
> v2:
> - use __initdata as it is OK to do it
>
> arch/arm/mach-at91/board-cam60.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-at91/board-cam60.c b/arch/arm/mach-at91/board-cam60.c
> index ade948b..ecabbed 100644
> --- a/arch/arm/mach-at91/board-cam60.c
> +++ b/arch/arm/mach-at91/board-cam60.c
> @@ -108,16 +108,14 @@ static struct spi_board_info cam60_spi_devices[] __initdata = {
> #endif
> };
>
> -
> /*
> * MACB Ethernet device
> */
> -static struct __initdata macb_platform_data cam60_macb_data = {
> +static struct macb_platform_data cam60_macb_data __initdata = {
> .phy_irq_pin = AT91_PIN_PB5,
> .is_rmii = 0,
> };
>
> -
> /*
> * NAND Flash
> */
>
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists