Patchwork MTD: NAND: jz4740: Make 'struct platform_driver jz_nand_driver' static

login
register
mail settings
Submitter Lars-Peter Clausen
Date Nov. 11, 2010, 6:02 p.m.
Message ID <1289498568-12191-1-git-send-email-lars@metafoo.de>
Download mbox | patch
Permalink /patch/70845/
State Accepted
Commit a338adafed0d09d823169161e938b1eab4dce901
Headers show

Comments

Lars-Peter Clausen - Nov. 11, 2010, 6:02 p.m.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 drivers/mtd/nand/jz4740_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Artem Bityutskiy - Nov. 26, 2010, 3:45 p.m.
On Thu, 2010-11-11 at 19:02 +0100, Lars-Peter Clausen wrote:
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---
>  drivers/mtd/nand/jz4740_nand.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 

Pushed both patches to l2-mtd-2.6.git, thanks.

Patch

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 = {