From: Lars-Peter Clausen Date: Thu, 11 Nov 2010 18:02:47 +0000 (+0100) Subject: mtd: NAND: jz4740: Make 'struct platform_driver jz_nand_driver' static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a338adafed0d09d823169161e938b1eab4dce901;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mtd: NAND: jz4740: Make 'struct platform_driver jz_nand_driver' static Signed-off-by: Lars-Peter Clausen Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c index 67343fc31bd5..c9e2a59fd640 100644 --- a/drivers/mtd/nand/jz4740_nand.c +++ b/drivers/mtd/nand/jz4740_nand.c @@ -489,7 +489,7 @@ static int __devexit jz_nand_remove(struct platform_device *pdev) return 0; } -struct platform_driver jz_nand_driver = { +static struct platform_driver jz_nand_driver = { .probe = jz_nand_probe, .remove = __devexit_p(jz_nand_remove), .driver = {