]> git.baikalelectronics.ru Git - kernel.git/commit
omap2/3: id: fix sparse warning
authorNishanth Menon <nm@ti.com>
Mon, 2 Aug 2010 11:21:40 +0000 (14:21 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Aug 2010 11:21:40 +0000 (14:21 +0300)
commitc495af0721c590d85145fb1ccd4011a35e921f7b
tree44d6e6d3e23bbc0f58398624c644a70dd775eef6
parente7fdc01722da12b3dd3e05483b5189449bfad231
omap2/3: id: fix sparse warning

omap24xx_check_revision, omap3_check_features,
omap3_check_revision, omap4_check_revision, omap3_cpuinfo
are not used elsewhere, it should be static

Also fixes the following sparse warnings:
arch/arm/mach-omap2/id.c:105:13: warning: symbol 'omap24xx_check_revision'
was not declared. Should it be static?
arch/arm/mach-omap2/id.c:167:13: warning: symbol 'omap3_check_features'
was not declared. Should it be static?
arch/arm/mach-omap2/id.c:189:13: warning: symbol 'omap3_check_revision'
was not declared. Should it be static?
arch/arm/mach-omap2/id.c:270:13: warning: symbol 'omap4_check_revision'
was not declared. Should it be static?
arch/arm/mach-omap2/id.c:300:13: warning: symbol 'omap3_cpuinfo'
was not declared. Should it be static?

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/id.c