public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: imx: make imx51/3 suspend optional
Date: Fri, 22 May 2015 23:35:27 +0800	[thread overview]
Message-ID: <20150522153525.GM24844@dragon> (raw)
In-Reply-To: <2236337.NNZMvqcbY8@wuerfel>

On Thu, May 21, 2015 at 02:06:30PM +0200, Arnd Bergmann wrote:
> A recent change to the imx53 power management caused a build
> regression when CONFIG_SOC_IMX53 is disabled:
> 
> mach-imx/built-in.o:(.init.rodata+0x60): undefined reference to `imx53_suspend'
> mach-imx/built-in.o:(.init.rodata+0x64): undefined reference to `imx53_suspend_sz'
> 
> This avoids the problem by compiling the code in question
> conditionally on the presence of CONFIG_SOC_IMX53. For
> consistency, I'm also changing the same thing for
> CONFIG_SOC_IMX51.
> 
> An additional benefit of this approach is reduced code size
> for kernels that only include support for one of the two
> SoCs.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: 41c1b15afa2c7 ("ARM: imx53: Set DDR pins to high impedance when in suspend to RAM.")
> ---
> Please apply on top of the broken commit

Applied.  Thanks for the fixing, Arnd.

Shawn

      reply	other threads:[~2015-05-22 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21 12:06 [PATCH] ARM: imx: make imx51/3 suspend optional Arnd Bergmann
2015-05-22 15:35 ` Shawn Guo [this message]

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=20150522153525.GM24844@dragon \
    --to=shawn.guo@linaro.org \
    --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