linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: mx5: add __initconst for fec pdata
Date: Fri, 18 Nov 2011 11:38:32 +0100	[thread overview]
Message-ID: <20111118103832.GY30612@pengutronix.de> (raw)
In-Reply-To: <65EE16ACC360FA4D99C96DC085B3F7722E4637@039-SN1MPN1-002.039d.mgd.msft.net>

On Fri, Nov 18, 2011 at 03:44:30AM +0000, Dong Aisheng-B29396 wrote:
> > -----Original Message-----
> > From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-
> > kernel-bounces at lists.infradead.org] On Behalf Of Dong Aisheng
> > Sent: Saturday, November 12, 2011 12:09 AM
> > To: linux-arm-kernel at lists.infradead.org
> > Cc: kernel at pengutronix.de; s.hauer at pengutronix.de; w.sang at pengutronix.de;
> > Guo Shawn-R65073; u.kleine-koenig at pengutronix.de
> > Subject: [PATCH 2/2] ARM: mx5: add __initconst for fec pdata
> >
> 
> Ping.
> Any tag or comment for this one?
yes, ack for me.

Uwe
> 
> > Signed-off-by: Dong Aisheng <b29396@freescale.com>
> > ---
> >  arch/arm/mach-mx5/board-mx53_evk.c  |    2 +-
> >  arch/arm/mach-mx5/board-mx53_loco.c |    2 +-
> >  arch/arm/mach-mx5/board-mx53_smd.c  |    2 +-
> >  3 files changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/arch/arm/mach-mx5/board-mx53_evk.c b/arch/arm/mach-
> > mx5/board-mx53_evk.c
> > index 6a3e616..bc3a636 100644
> > --- a/arch/arm/mach-mx5/board-mx53_evk.c
> > +++ b/arch/arm/mach-mx5/board-mx53_evk.c
> > @@ -106,7 +106,7 @@ static inline void mx53_evk_fec_reset(void)
> >  	gpio_set_value(MX53_EVK_FEC_PHY_RST, 1);  }
> > 
> > -static struct fec_platform_data mx53_evk_fec_pdata = {
> > +static const struct fec_platform_data mx53_evk_fec_pdata __initconst =
> > +{
> >  	.phy = PHY_INTERFACE_MODE_RMII,
> >  };
> > 
> > diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-
> > mx5/board-mx53_loco.c
> > index 7149416..d269ef3 100644
> > --- a/arch/arm/mach-mx5/board-mx53_loco.c
> > +++ b/arch/arm/mach-mx5/board-mx53_loco.c
> > @@ -242,7 +242,7 @@ static inline void mx53_loco_fec_reset(void)
> >  	gpio_set_value(LOCO_FEC_PHY_RST, 1);
> >  }
> > 
> > -static struct fec_platform_data mx53_loco_fec_data = {
> > +static const struct fec_platform_data mx53_loco_fec_data __initconst =
> > +{
> >  	.phy = PHY_INTERFACE_MODE_RMII,
> >  };
> > 
> > diff --git a/arch/arm/mach-mx5/board-mx53_smd.c b/arch/arm/mach-
> > mx5/board-mx53_smd.c
> > index e64fd2c..6a1fe88 100644
> > --- a/arch/arm/mach-mx5/board-mx53_smd.c
> > +++ b/arch/arm/mach-mx5/board-mx53_smd.c
> > @@ -103,7 +103,7 @@ static inline void mx53_smd_fec_reset(void)
> >  	gpio_set_value(SMD_FEC_PHY_RST, 1);
> >  }
> > 
> > -static struct fec_platform_data mx53_smd_fec_data = {
> > +static const struct fec_platform_data mx53_smd_fec_data __initconst = {
> >  	.phy = PHY_INTERFACE_MODE_RMII,
> >  };
> > 
> > --
> > 1.7.0.4
> > 
> > 
> > 
> > _______________________________________________
> > linux-arm-kernel mailing list
> > linux-arm-kernel at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

  reply	other threads:[~2011-11-18 10:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 16:09 [PATCH 1/2] ARM: mxs/tx28: add __initconst for fec pdata Dong Aisheng
2011-11-11 16:09 ` [PATCH 2/2] ARM: mx5: " Dong Aisheng
2011-11-18  3:44   ` Dong Aisheng-B29396
2011-11-18 10:38     ` Uwe Kleine-König [this message]
2011-11-14  5:28 ` [PATCH 1/2] ARM: mxs/tx28: " Lothar Waßmann
2011-11-22  5:48 ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111118103832.GY30612@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).