summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/jz4740_nand.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-11-11 19:02:47 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-12-03 17:29:27 +0100
commita338adafed0d09d823169161e938b1eab4dce901 (patch)
tree324be97767fb1636e0ec2e35bce01d369cefc93b /drivers/mtd/nand/jz4740_nand.c
parentmtd: remove unnecessary casts of void ptr returning alloc function return values (diff)
downloadlinux-a338adafed0d09d823169161e938b1eab4dce901.tar.xz
linux-a338adafed0d09d823169161e938b1eab4dce901.zip
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/nand/jz4740_nand.c')
-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)
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 = {