mtd: denali: Mark function is_erased() as static
authorRashika Kheria <rashika.kheria@gmail.com>
Fri, 13 Dec 2013 07:16:04 +0000 (12:46 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:26 +0000 (11:22 -0800)
commit919193cee04f49628ae9efdc45bf4af1e506205f
tree865e2ef746ee7bd4fb0b0f440af1092067abdf37
parent176e4a233f50da75306df8ae1360d0ecbbeb8a37
mtd: denali: Mark function is_erased() as static

This patch marks the function is_erased() as static in denali.c because
it is not used outside this file.

This patch elimiates the following warning in nand/denali.c:
drivers/mtd/nand/denali.c:900:6: warning: no previous prototype for ‘is_erased’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/denali.c