ARM: SPEAr: conditionalize l2x0 support
authorArnd Bergmann <arnd@arndb.de>
Tue, 30 Apr 2013 15:52:16 +0000 (17:52 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 3 May 2013 20:36:32 +0000 (22:36 +0200)
commit6343b05f0a77c5d76d291d15c5cf2d9cf1b4e700
treeb3cf2342b56555664b9a87674830ce9eedd0c0ef
parentcb48389bd6c6b827c2c0619063ce9f94fb8a370d
ARM: SPEAr: conditionalize l2x0 support

If the cache controller implementation is disabled at build time,
we must not call any functions related to it.

arch/arm/mach-spear/built-in.o: In function `spear13xx_l2x0_init':
arch/arm/mach-spear/spear13xx.c:47: undefined reference to `l2x0_init'

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Viresh Kumar <viresh.linux@gmail.com>
arch/arm/mach-spear13xx/spear13xx.c