diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-04-04 12:25:36 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-04-05 11:06:41 +0200 |
commit | 03de3727b25059d9802d1baac319ba40c035eade (patch) | |
tree | fccb9bf26374623160090c822fecdf00da9ac082 /arch/arm/mach-meson | |
parent | 84985460569570f5cca5fabbfb811e11b07bc916 (diff) |
ARM: omap2: fix am43xx build without L2X0
When CONFIG_CACHE_L2X0 is disabled, the am43xx specific suspend
implemnentation fails to link:
arch/arm/mach-omap2/sleep43xx.o: In function `get_l2cache_base':
(.text+0x180): undefined reference to `omap4_get_l2cache_base'
This adds an #ifdef protection around the code, like we do for am44xx.
Fixes: 41d37e61372f ("ARM: OMAP2+: Introduce low-level suspend code for AM43XX")
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-meson')
0 files changed, 0 insertions, 0 deletions