arm: fix unresolved restart build failure in plat-iop/restart.c
Subsystems (3)
PATCH 1/1 arm: fix unresolved restart build failure in plat-iop/restart.c
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
arch/arm/plat-iop/restart.c +1 -0
@@ -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>
Signature · 1 line
1.7.7.2
PATCH 1/1 arm: fix unresolved restart build failure in plat-iop/restart.c
Quoted 11 lines · Paul Gortmaker
Upstream commit
bec92b1ec67b4998b6a3bad7c2f03c846cbac71e?"ARM: restart: iop3xx: use new restart hook"
created this file, but it needs
asm/system.hsince upstream commite879c862fb81b986095ae7a4676b2281c2f97957?"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:
Just checking that this didn't fall through the cracks, as I don't see it in linux-next yet. I just re-tested on today's linux-next and it still fixes these defconfig build failures:
http://kisskb.ellerman.id.au/kisskb/target/1257/
Thanks,
Paul.
--
Quoted 28 lines
?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 1Signed-off-by Paul Gortmaker <[email protected]>arch/arm/plat-iop/restart.c +0
-0@@ -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_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel