diff options
author | Kevin Hilman <khilman@baylibre.com> | 2016-11-16 08:44:38 -0800 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2016-11-20 16:52:00 +0530 |
commit | f7715b299954b1f1644253682e50f38282eee611 (patch) | |
tree | 75f1cff1c6b81d4451d9c887eb4f1ff71e5218b3 /mm/page_alloc.c | |
parent | 1428ed1ad3e81a21806617f91d7bf782cbbc0c77 (diff) | |
download | linux-f7715b299954b1f1644253682e50f38282eee611.tar.bz2 |
ARM: davinci: PM: fix build when da850 not compiled in
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>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions