summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/serial.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-04-18 17:09:26 (GMT)
committerTony Lindgren <tony@atomide.com>2012-04-18 17:09:26 (GMT)
commit09f45b83109cb8e23a06d5efb1096a08a9545974 (patch)
tree253e2244e0ab80e9c6e5cb53ab49457d82d70f68 /arch/arm/mach-omap2/serial.c
parente816b57a337ea3b755de72bec38c10c864f23015 (diff)
parenteeb3711b89d68e147e05e7b43a49ecc5009dc157 (diff)
downloadlinux-fsl-qoriq-09f45b83109cb8e23a06d5efb1096a08a9545974.tar.xz
Merge tag 'omap-cleanup-a2-for-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into cleanup-sparse
Resolve static analysis warnings generated by files in arch/arm/mach-omap1, arch/arm/mach-omap2, and arch/arm/plat-omap. Fixes all but one sparse warning and most of the useful cppcheck warnings (excepting the warnings generated by the dmtimer integration code which is going up via 3.4-rc fixes)
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r--arch/arm/mach-omap2/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index 0cdd359..8d22e29d 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -243,7 +243,7 @@ static void omap_serial_fill_default_pads(struct omap_board_data *bdata)
static void omap_serial_fill_default_pads(struct omap_board_data *bdata) {}
#endif
-char *cmdline_find_option(char *str)
+static char *cmdline_find_option(char *str)
{
extern char *saved_command_line;