From: nsekhar@ti.com (Sekhar Nori)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: davinci: PM: fix build when da850 not compiled in
Date: Sun, 20 Nov 2016 16:59:06 +0530 [thread overview]
Message-ID: <b36c5d16-9d49-e4db-8992-c02e9244f04c@ti.com> (raw)
In-Reply-To: <20161116164438.9881-1-khilman@baylibre.com>
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
Sekhar
next prev parent reply other threads:[~2016-11-20 11:29 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 [this message]
2016-11-22 16:39 ` Kevin Hilman
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=b36c5d16-9d49-e4db-8992-c02e9244f04c@ti.com \
--to=nsekhar@ti.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