[PATCH 1/2] ARM: mx28evk: remove flexcan_pdata __initconst attribute

Dong Aisheng b29396 at freescale.com
Fri Nov 11 10:12:39 EST 2011


The flexcan driver still uses it after init.

Signed-off-by: Dong Aisheng <b29396 at freescale.com>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Shawn Guo <shawn.guo at freescale.com>
Cc: Wolfram Sang <w.sang at pengutronix.de>
Cc: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
 arch/arm/mach-mxs/mach-mx28evk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c
index 4a3cca3..226ba64 100644
--- a/arch/arm/mach-mxs/mach-mx28evk.c
+++ b/arch/arm/mach-mxs/mach-mx28evk.c
@@ -327,7 +327,7 @@ static void mx28evk_flexcan1_switch(int enable)
 }
 
 static const struct flexcan_platform_data
-		mx28evk_flexcan_pdata[] __initconst = {
+		mx28evk_flexcan_pdata[] = {
 	{
 		.transceiver_switch = mx28evk_flexcan0_switch,
 	}, {
-- 
1.7.0.4





More information about the linux-arm-kernel mailing list