]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: spear: fix build error in restart.c
authorArnd Bergmann <arnd@arndb.de>
Fri, 25 Jan 2013 23:09:57 +0000 (23:09 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 12 Mar 2013 16:40:24 +0000 (17:40 +0100)
commit88f9abe99e869309b52696b5d53eb3ea2ea1bc76
tree9e7ffd72422d0e97865385fb46d679983b3563b9
parentbd1bd3caa347479b22158cc9114d3c22ed1249de
ARM: spear: fix build error in restart.c

We can now enable mach-spear without selecting any of the
machines in a multiplatform configuration.
Doing so causes a build error that is trivial to fix by
making both the spear13xx and the spear3xx/6xx portion of
this file conditional rather than alternatives.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
arch/arm/mach-spear/restart.c