summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
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 16:29:27 +0000
commita338adafed0d09d823169161e938b1eab4dce901 (patch)
tree324be97767fb1636e0ec2e35bce01d369cefc93b /drivers/mtd
parentce4a37f7c93e9b12ac1452bedd823d73c43c0e63 (diff)
downloadop-kernel-dev-a338adafed0d09d823169161e938b1eab4dce901.zip
op-kernel-dev-a338adafed0d09d823169161e938b1eab4dce901.tar.gz
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 67343fc..c9e2a59 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 = {
OpenPOWER on IntegriCloud