[PATCH] arm: fix unresolved restart build failure in plat-iop/restart.c
Paul Gortmaker
paul.gortmaker at windriver.com
Sun Jan 22 22:16:18 EST 2012
Upstream commit bec92b1ec67b4998b6a3bad7c2f03c846cbac71e
"ARM: restart: iop3xx: use new restart hook"
created this file, but it needs asm/system.h since upstream
commit e879c862fb81b986095ae7a4676b2281c2f97957
"ARM: restart: only perform setup for restart when soft-restarting"
added the soft_restart() entry. Add in that header to resolve
the below build failure:
CC arch/arm/plat-iop/restart.o
arch/arm/plat-iop/restart.c: In function 'iop3xx_restart':
arch/arm/plat-iop/restart.c:18: error: implicit declaration of function 'soft_restart'
make[3]: *** [arch/arm/plat-iop/restart.o] Error 1
Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
diff --git a/arch/arm/plat-iop/restart.c b/arch/arm/plat-iop/restart.c
index 6a85a0c..728b5c7 100644
--- a/arch/arm/plat-iop/restart.c
+++ b/arch/arm/plat-iop/restart.c
@@ -7,6 +7,7 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
+#include <asm/system.h>
#include <asm/hardware/iop3xx.h>
#include <mach/hardware.h>
--
1.7.7.2
More information about the linux-arm-kernel
mailing list