Skip to content

Commit

Permalink
ARM: OMAP2+: sparse: add missing function declarations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sekhar Nori authored and Paul Walmsley committed Jul 16, 2015
1 parent f734a9b commit 9e5d46b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/omap3-restart.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/init.h>
#include <linux/reboot.h>

#include "common.h"
#include "control.h"
#include "prm.h"

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/omap4-restart.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <linux/types.h>
#include <linux/reboot.h>
#include "common.h"
#include "prm.h"

/**
Expand Down

0 comments on commit 9e5d46b

Please sign in to comment.