linux/arch/arm/mach-omap2
Arnd Bergmann 03de3727b2 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>
2018-04-05 11:06:41 +02:00
..
2017-09-19 11:04:56 -07:00
2017-07-17 15:04:47 +02:00
2015-07-16 00:06:05 -07:00
2017-08-14 10:33:13 -07:00
2015-07-20 10:52:36 -07:00
2017-10-10 14:27:13 -07:00
2016-06-10 04:17:07 -07:00