mtd: NAND: jz4740: Make 'struct platform_driver jz_nand_driver' static

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Dec 3 11:59:03 EST 2010


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=a338adafed0d09d823169161e938b1eab4dce901
Commit:     a338adafed0d09d823169161e938b1eab4dce901
Parent:     ce4a37f7c93e9b12ac1452bedd823d73c43c0e63
Author:     Lars-Peter Clausen <lars at metafoo.de>
AuthorDate: Thu Nov 11 19:02:47 2010 +0100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Dec 3 16:29:27 2010 +0000

    mtd: NAND: jz4740: Make 'struct platform_driver jz_nand_driver' static
    
    Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/nand/jz4740_nand.c |    2 +-
 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 = {



More information about the linux-mtd-cvs mailing list