From: khilman@baylibre.com (Kevin Hilman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: davinci: PM: fix build when da850 not compiled in
Date: Tue, 22 Nov 2016 08:39:03 -0800 [thread overview]
Message-ID: <m2k2bvzcyg.fsf@baylibre.com> (raw)
In-Reply-To: <b36c5d16-9d49-e4db-8992-c02e9244f04c@ti.com> (Sekhar Nori's message of "Sun, 20 Nov 2016 16:59:06 +0530")
Sekhar Nori <nsekhar@ti.com> writes:
> On Wednesday 16 November 2016 10:14 PM, Kevin Hilman wrote:
>> Currently, suspend/resume support is only available on da850 platforms,
>> and the platform PM code has dependencies on da850 functions. However,
>> CONFIG_SUSPEND might be enabled even when da850 support is not, causing
>> build failure:
>>
>> arch/arm/mach-davinci/built-in.o: In function `davinci_pm_init':
>> pm_domain.c:(.init.text+0x1fb8): undefined reference to `da8xx_get_mem_ctlr'
>> pm_domain.c:(.init.text+0x20b0): undefined reference to `da8xx_syscfg1_base'
>>
>> Fix this by only building the PM core when da850 is enabled.
>>
>> Reported-by: Sekhar Nori <nsekhar@ti.com>
>> Fixes: aa9aa1ec2df6 ARM: davinci: PM: rework init, remove platform device
>> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
>
> Applied. Documentation asks for ("") around commit headline in Fixes:
> tag, so I added that.
Thanks,
Kevin
prev parent reply other threads:[~2016-11-22 16:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-16 16:44 [PATCH] ARM: davinci: PM: fix build when da850 not compiled in Kevin Hilman
2016-11-20 11:29 ` Sekhar Nori
2016-11-22 16:39 ` Kevin Hilman [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=m2k2bvzcyg.fsf@baylibre.com \
--to=khilman@baylibre.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.