From: paul.gortmaker@windriver.com (Paul Gortmaker) Date: Sun, 22 Jan 2012 22:16:18 -0500 Subject: [PATCH] arm: fix unresolved restart build failure in plat-iop/restart.c Message-ID: <1327288578-30852-1-git-send-email-paul.gortmaker@windriver.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 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 #include #include -- 1.7.7.2