* [PATCH] ARM: tegra: remove declaration of tegra_assert_system_reset in board.h
@ 2011-11-23 11:04 Axel Lin
2011-11-23 16:55 ` Stephen Warren
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-11-23 11:04 UTC (permalink / raw)
To: linux-arm-kernel
commit b2f745 "ARM: restart: tegra: use new restart hook"
changed tegra_assert_system_reset to be static but forgot to
remove the declaration in arch/arm/mach-tegra/board.h.
Remove the declaration of tegra_assert_system_reset in
arch/arm/mach-tegra/board.h to fix below build error:
CC arch/arm/mach-tegra/common.o
arch/arm/mach-tegra/common.c:34: error: static declaration of 'tegra_assert_system_reset' follows non-static declaration
arch/arm/mach-tegra/board.h:26: note: previous declaration of 'tegra_assert_system_reset' was here
make[1]: *** [arch/arm/mach-tegra/common.o] Error 1
make: *** [arch/arm/mach-tegra] Error 2
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
I got the build error on linux-next tree.
This patch is against linux-next 20111123.
arch/arm/mach-tegra/board.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h
index 1d14df7..f159577 100644
--- a/arch/arm/mach-tegra/board.h
+++ b/arch/arm/mach-tegra/board.h
@@ -23,8 +23,6 @@
#include <linux/types.h>
-void tegra_assert_system_reset(char mode, const char *cmd);
-
void __init tegra_init_early(void);
void __init tegra_map_common_io(void);
void __init tegra_init_irq(void);
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: tegra: remove declaration of tegra_assert_system_reset in board.h
2011-11-23 11:04 [PATCH] ARM: tegra: remove declaration of tegra_assert_system_reset in board.h Axel Lin
@ 2011-11-23 16:55 ` Stephen Warren
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Warren @ 2011-11-23 16:55 UTC (permalink / raw)
To: linux-arm-kernel
Axel Lin wrote at Wednesday, November 23, 2011 4:05 AM:
> commit b2f745 "ARM: restart: tegra: use new restart hook"
> changed tegra_assert_system_reset to be static but forgot to
> remove the declaration in arch/arm/mach-tegra/board.h.
Please see:
http://www.spinics.net/lists/arm-kernel/msg148932.html
Thanks.
--
nvpublic
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-23 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-23 11:04 [PATCH] ARM: tegra: remove declaration of tegra_assert_system_reset in board.h Axel Lin
2011-11-23 16:55 ` Stephen Warren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).