]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nandsim: Staticize local symbols
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 Aug 2013 07:13:32 +0000 (16:13 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:51:43 +0000 (21:51 +0100)
commitb2b263f2e7f55a6bd5875a3cb7d0ab4bef433a7c
tree9550c29b5c2e5867d25ed705bd767a7b8a1b7c91
parentd1d90c992da5b0b96cd6d3b2c0958b236808fb47
mtd: nandsim: Staticize local symbols

These local symbols are used only in this file.
Fix the following sparse warnings:

drivers/mtd/nand/nandsim.c:1436:5: warning: symbol 'do_read_error' was not declared. Should it be static?
drivers/mtd/nand/nandsim.c:1448:6: warning: symbol 'do_bit_flips' was not declared. Should it be static?

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nandsim.c