public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: sameo@linux.intel.com (Samuel Ortiz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mfd: Fix AB8500 build failure if POWER_SUPPLY is not configured
Date: Wed, 13 Mar 2013 09:35:23 +0100	[thread overview]
Message-ID: <20130313083523.GC21994@zurbaran> (raw)
In-Reply-To: <1362080229-27334-1-git-send-email-linux@roeck-us.net>

Hi Guenter,

On Thu, Feb 28, 2013 at 11:37:09AM -0800, Guenter Roeck wrote:
> ab8500-sysctrl.c fails to build if POWER_SUPPLY is not configured.
> 
> drivers/built-in.o: In function `ab8500_power_off':
> drivers/mfd/ab8500-sysctrl.c:37: undefined reference to `power_supply_get_by_name'
> drivers/mfd/ab8500-sysctrl.c:53: undefined reference to `power_supply_get_by_name'
> 
> Select POWER_SUPPLY in Kconfig if AB8500_CORE is configured to fix the problem.
> 
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
>  drivers/mfd/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
I applied Axel's patch to my mfd-fixes tree now.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

      parent reply	other threads:[~2013-03-13  8:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28 19:37 [PATCH] mfd: Fix AB8500 build failure if POWER_SUPPLY is not configured Guenter Roeck
2013-03-04  7:36 ` Linus Walleij
2013-03-13  8:35 ` Samuel Ortiz [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=20130313083523.GC21994@zurbaran \
    --to=sameo@linux.intel.com \
    --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