aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-11-11 13:02:47 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-12-03 11:29:27 -0500
commita338adafed0d09d823169161e938b1eab4dce901 (patch)
tree324be97767fb1636e0ec2e35bce01d369cefc93b /drivers/mtd
parentce4a37f7c93e9b12ac1452bedd823d73c43c0e63 (diff)
mtd: NAND: jz4740: Make 'struct platform_driver jz_nand_driver' static
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/jz4740_nand.c2
1 files changed, 1 insertions, 1 deletions
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)
489 return 0; 489 return 0;
490} 490}
491 491
492struct platform_driver jz_nand_driver = { 492static struct platform_driver jz_nand_driver = {
493 .probe = jz_nand_probe, 493 .probe = jz_nand_probe,
494 .remove = __devexit_p(jz_nand_remove), 494 .remove = __devexit_p(jz_nand_remove),
495 .driver = { 495 .driver = {