]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ARM: mxs/tx28: add __initconst for fec pdata
authorDong Aisheng <b29396@freescale.com>
Fri, 11 Nov 2011 16:09:05 +0000 (00:09 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 2 Dec 2011 05:27:22 +0000 (13:27 +0800)
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/module-tx28.c

index 0fcff47009cf13ff53db9757e58c9dc0cbf5b927..9a7b08b2a92559caf1028df076040c5e5dc798ae 100644 (file)
@@ -66,11 +66,11 @@ static const iomux_cfg_t tx28_fec1_pads[] __initconst = {
        MX28_PAD_ENET0_CRS__ENET1_RX_EN,
 };
 
-static struct fec_platform_data tx28_fec0_data = {
+static const struct fec_platform_data tx28_fec0_data __initconst = {
        .phy = PHY_INTERFACE_MODE_RMII,
 };
 
-static struct fec_platform_data tx28_fec1_data = {
+static const struct fec_platform_data tx28_fec1_data __initconst = {
        .phy = PHY_INTERFACE_MODE_RMII,
 };