Thread (5 messages) read the whole thread 5 messages, 3 authors, 2011-11-28
STALE5362d

[PATCH] arm/tegra: Fix build error with tegra_assert_system_reset

From: Stephen Warren <hidden>
Date: 2011-11-23 00:53:51
Also in: linux-tegra
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

Build error:

error: static declaration of 'tegra_assert_system_reset' follows non-static
declaration

Fix:

Remove the non-static declaration; the function should be local now.

Signed-off-by: Stephen Warren <redacted>
---
 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.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help