mtd: rawnand: cadence: Make cadence_nand_attach_chip static
authorYueHaibing <yuehaibing@huawei.com>
Fri, 10 Apr 2020 11:52:28 +0000 (19:52 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 10 May 2020 19:15:56 +0000 (21:15 +0200)
commitfb0f6f331e27bc9d0e53f4e5f0cfe61c50e40cf5
tree8bbd3e224d4d6cc1c0e00796c59d26da616f5376
parent73ab61552e2ffb1b794b70545d04c1d2b60e89e7
mtd: rawnand: cadence: Make cadence_nand_attach_chip static

Fix sparse warning:

drivers/mtd/nand/raw/cadence-nand-controller.c:2595:5:
 warning: symbol 'cadence_nand_attach_chip' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200410115228.30440-1-yuehaibing@huawei.com
drivers/mtd/nand/raw/cadence-nand-controller.c