All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: mxs/tx28: add __initconst for fec pdata
@ 2011-11-11 16:09 Dong Aisheng
  2011-11-11 16:09 ` [PATCH 2/2] ARM: mx5: " Dong Aisheng
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dong Aisheng @ 2011-11-11 16:09 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Dong Aisheng <b29396@freescale.com>
---
 arch/arm/mach-mxs/module-tx28.c |    4 ++--
 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,
 };
 
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] ARM: mx5: add __initconst for fec pdata
  2011-11-11 16:09 [PATCH 1/2] ARM: mxs/tx28: add __initconst for fec pdata Dong Aisheng
@ 2011-11-11 16:09 ` Dong Aisheng
  2011-11-18  3:44   ` Dong Aisheng-B29396
  2011-11-14  5:28 ` [PATCH 1/2] ARM: mxs/tx28: " Lothar Waßmann
  2011-11-22  5:48 ` Shawn Guo
  2 siblings, 1 reply; 6+ messages in thread
From: Dong Aisheng @ 2011-11-11 16:09 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 1/2] ARM: mxs/tx28: add __initconst for fec pdata
  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-14  5:28 ` Lothar Waßmann
  2011-11-22  5:48 ` Shawn Guo
  2 siblings, 0 replies; 6+ messages in thread
From: Lothar Waßmann @ 2011-11-14  5:28 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

Dong Aisheng writes:
> Signed-off-by: Dong Aisheng <b29396@freescale.com>
> ---
>  arch/arm/mach-mxs/module-tx28.c |    4 ++--
>  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,
>  };
>  
> -- 
> 1.7.0.4
> 
Acked-by: Lothar Wa?mann <LW@KARO-electronics.de>


Lothar Wa?mann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstra?e 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Gesch?ftsf?hrer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 2/2] ARM: mx5: add __initconst for fec pdata
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Dong Aisheng-B29396 @ 2011-11-18  3:44 UTC (permalink / raw)
  To: linux-arm-kernel

> -----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?

> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 2/2] ARM: mx5: add __initconst for fec pdata
  2011-11-18  3:44   ` Dong Aisheng-B29396
@ 2011-11-18 10:38     ` Uwe Kleine-König
  0 siblings, 0 replies; 6+ messages in thread
From: Uwe Kleine-König @ 2011-11-18 10:38 UTC (permalink / raw)
  To: linux-arm-kernel

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/  |

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] ARM: mxs/tx28: add __initconst for fec pdata
  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-14  5:28 ` [PATCH 1/2] ARM: mxs/tx28: " Lothar Waßmann
@ 2011-11-22  5:48 ` Shawn Guo
  2 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2011-11-22  5:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Nov 12, 2011 at 12:09:05AM +0800, Dong Aisheng wrote:
> Signed-off-by: Dong Aisheng <b29396@freescale.com>
> ---

Applied, thanks.

Regards,
Shawn

>  arch/arm/mach-mxs/module-tx28.c |    4 ++--
>  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,
>  };
>  
> -- 
> 1.7.0.4
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-11-22  5:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2011-11-14  5:28 ` [PATCH 1/2] ARM: mxs/tx28: " Lothar Waßmann
2011-11-22  5:48 ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.