summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2011-11-12 00:09:05 +0800
committerShawn Guo <shawn.guo@linaro.org>2011-12-02 13:27:22 +0800
commit5d348401ed03450395ce674594c1c08c7d85bd8d (patch)
tree37a7d43794d8f87378c2e100c665e71d77312c12 /arch
parent5611cc4572e889b62a7b4c72a413536bf6a9c416 (diff)
downloadop-kernel-dev-5d348401ed03450395ce674594c1c08c7d85bd8d.zip
op-kernel-dev-5d348401ed03450395ce674594c1c08c7d85bd8d.tar.gz
ARM: mxs/tx28: add __initconst for fec pdata
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mxs/module-tx28.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mxs/module-tx28.c b/arch/arm/mach-mxs/module-tx28.c
index 0fcff47..9a7b08b 100644
--- a/arch/arm/mach-mxs/module-tx28.c
+++ b/arch/arm/mach-mxs/module-tx28.c
@@ -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,
};
OpenPOWER on IntegriCloud