From: broonie@opensource.wolfsonmicro.com (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: PWM backlight build warning
Date: Sat, 6 Apr 2013 21:02:51 +0100 [thread overview]
Message-ID: <20130406200251.GO6597@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <51606A7F.3050803@prisktech.co.nz>
On Sun, Apr 07, 2013 at 06:33:35AM +1200, Tony Prisk wrote:
> The problem occurs because when CONFIG_PM=y but CONFIG_PM_SLEEP=n:
> I guess this would be a problem on every driver that has been
> converted to SIMPLE_DEV_PM_OPS.
> I don't know enough about the PM code to offer a fix, or whethermy
> chosen config is just 'invalid'.
You just need to put the system suspend functions inside an ifdef
CONFIG_PM_SLEEP instead of CONFIG_PM.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130406/4475b2d3/attachment.sig>
WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Tony Prisk <linux@prisktech.co.nz>
Cc: thierry.reding@avionic-design.de, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, akpm@linux-foundation.org
Subject: Re: PWM backlight build warning
Date: Sat, 6 Apr 2013 21:02:51 +0100 [thread overview]
Message-ID: <20130406200251.GO6597@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <51606A7F.3050803@prisktech.co.nz>
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
On Sun, Apr 07, 2013 at 06:33:35AM +1200, Tony Prisk wrote:
> The problem occurs because when CONFIG_PM=y but CONFIG_PM_SLEEP=n:
> I guess this would be a problem on every driver that has been
> converted to SIMPLE_DEV_PM_OPS.
> I don't know enough about the PM code to offer a fix, or whethermy
> chosen config is just 'invalid'.
You just need to put the system suspend functions inside an ifdef
CONFIG_PM_SLEEP instead of CONFIG_PM.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-04-06 20:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-06 18:33 PWM backlight build warning Tony Prisk
2013-04-06 18:33 ` Tony Prisk
2013-04-06 20:02 ` Mark Brown [this message]
2013-04-06 20:02 ` Mark Brown
2013-04-06 21:10 ` Thierry Reding
2013-04-06 21:10 ` Thierry Reding
2013-04-06 22:06 ` Tony Prisk
2013-04-06 22:06 ` Tony Prisk
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=20130406200251.GO6597@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.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 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.