mtd: rawnand: pasemi: Make pasemi_device_ready() static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 21 Jul 2020 15:16:57 +0000 (23:16 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 30 Sep 2020 14:44:16 +0000 (16:44 +0200)
commitab78e6a6cef34d0b7eefd0d8a78308cfe7bd7737
treeca7f2d6f2e16f9f445362ac565b9c5a8d8c05817
parentab16f54ef3cdb6bbc06a36f636a89e6db8a6cea3
mtd: rawnand: pasemi: Make pasemi_device_ready() static

The sparse tool complains as follows:

drivers/mtd/nand/raw/pasemi_nand.c:71:5: warning:
 symbol 'pasemi_device_ready' was not declared. Should it be static?

This function is not used outside of pasemi_nand.c, so this commit
marks it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200721151657.41027-1-weiyongjun1@huawei.com
drivers/mtd/nand/raw/pasemi_nand.c