Patchwork arm: mx23: recognise stmp378x as mx23

login
register
mail settings
Submitter Wolfram Sang
Date Nov. 26, 2011, 10:39 a.m.
Message ID <1322303955-9225-1-git-send-email-w.sang@pengutronix.de>
Download mbox | patch
Permalink /patch/127776/
State New
Headers show

Comments

Wolfram Sang - Nov. 26, 2011, 10:39 a.m.
Adding the machine_is_* line was forgotten when converting mach-stmp378x to
mach-mxs.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
 arch/arm/mach-mxs/include/mach/mxs.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Shawn Guo - Nov. 29, 2011, 6:06 a.m.
On Sat, Nov 26, 2011 at 11:39:14AM +0100, Wolfram Sang wrote:
> Adding the machine_is_* line was forgotten when converting mach-stmp378x to
> mach-mxs.
> 
> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
> ---

Applied, thanks.

I added 'Cc: stable@kernel.org'.  Please let me know if you do not
think it's necessary.

Regards,
Shawn

>  arch/arm/mach-mxs/include/mach/mxs.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-mxs/include/mach/mxs.h b/arch/arm/mach-mxs/include/mach/mxs.h
> index 0d2d2b4..bde5f66 100644
> --- a/arch/arm/mach-mxs/include/mach/mxs.h
> +++ b/arch/arm/mach-mxs/include/mach/mxs.h
> @@ -30,6 +30,7 @@
>   */
>  #define cpu_is_mx23()		(					\
>  		machine_is_mx23evk() ||					\
> +		machine_is_stmp378x() ||				\
>  		0)
>  #define cpu_is_mx28()		(					\
>  		machine_is_mx28evk() ||					\
> -- 
> 1.7.7.2
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
Wolfram Sang - Nov. 29, 2011, 10:08 a.m.
On Tue, Nov 29, 2011 at 02:06:07PM +0800, Shawn Guo wrote:
> On Sat, Nov 26, 2011 at 11:39:14AM +0100, Wolfram Sang wrote:
> > Adding the machine_is_* line was forgotten when converting mach-stmp378x to
> > mach-mxs.
> > 
> > Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
> > ---
> 
> Applied, thanks.
> 
> I added 'Cc: stable@kernel.org'.  Please let me know if you do not
> think it's necessary.

I think it's fine, thanks!

Patch

diff --git a/arch/arm/mach-mxs/include/mach/mxs.h b/arch/arm/mach-mxs/include/mach/mxs.h
index 0d2d2b4..bde5f66 100644
--- a/arch/arm/mach-mxs/include/mach/mxs.h
+++ b/arch/arm/mach-mxs/include/mach/mxs.h
@@ -30,6 +30,7 @@ 
  */
 #define cpu_is_mx23()		(					\
 		machine_is_mx23evk() ||					\
+		machine_is_stmp378x() ||				\
 		0)
 #define cpu_is_mx28()		(					\
 		machine_is_mx28evk() ||					\