diff options
author | Sekhar Nori <nsekhar@ti.com> | 2015-07-11 10:59:16 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2015-07-16 01:43:41 -0400 |
commit | 9e5d46b0510e686550c486c410491291c67e8f0e (patch) | |
tree | 99bf2f29af6fc3c90f22114d3561fb2f725e0cd3 | |
parent | f734a9b3b19e01d598d03a336de32a59a52c1575 (diff) |
ARM: OMAP2+: sparse: add missing function declarations
omap3xxx_restart() and omap44xx_restart() are global
functions declared in common.h. Include this file
in omap3-restart.c and omap4-restart.c to prevent
sparse warnings of type:
arch/arm/mach-omap2/omap4-restart.c:22:6: warning: symbol 'omap44xx_restart' was not declared. Should it be static?
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
-rw-r--r-- | arch/arm/mach-omap2/omap3-restart.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap4-restart.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap3-restart.c b/arch/arm/mach-omap2/omap3-restart.c index 103a49f68bcb..4bdd22edb96b 100644 --- a/arch/arm/mach-omap2/omap3-restart.c +++ b/arch/arm/mach-omap2/omap3-restart.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/reboot.h> | 15 | #include <linux/reboot.h> |
16 | 16 | ||
17 | #include "common.h" | ||
17 | #include "control.h" | 18 | #include "control.h" |
18 | #include "prm.h" | 19 | #include "prm.h" |
19 | 20 | ||
diff --git a/arch/arm/mach-omap2/omap4-restart.c b/arch/arm/mach-omap2/omap4-restart.c index a99e7f7fb5be..e17136a50e27 100644 --- a/arch/arm/mach-omap2/omap4-restart.c +++ b/arch/arm/mach-omap2/omap4-restart.c | |||
@@ -9,6 +9,7 @@ | |||
9 | 9 | ||
10 | #include <linux/types.h> | 10 | #include <linux/types.h> |
11 | #include <linux/reboot.h> | 11 | #include <linux/reboot.h> |
12 | #include "common.h" | ||
12 | #include "prm.h" | 13 | #include "prm.h" |
13 | 14 | ||
14 | /** | 15 | /** |