[MTD] [NAND] Blackfin NFC Driver: mark bf5xx_nand_add_partition() as __devinit
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Mar 20 14:59:09 EDT 2009
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=8d30cab06920f9efb7e089f2c69e451b2a637d8a
Commit: 8d30cab06920f9efb7e089f2c69e451b2a637d8a
Parent: 08d2503ecc2337275942c1f52822b7a464c0c0a3
Author: Mike Frysinger <vapier.adi at gmail.com>
AuthorDate: Wed Mar 4 12:01:29 2009 -0800
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Mar 20 12:17:43 2009 +0000
[MTD] [NAND] Blackfin NFC Driver: mark bf5xx_nand_add_partition() as __devinit
The bf5xx_nand_add_partition() func is only called by __devinit functions,
so put it into the __devinit section as well
Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
Signed-off-by: Bryan Wu <cooloney at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/nand/bf5xx_nand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 5c6056e..520314d 100644
--- a/drivers/mtd/nand/bf5xx_nand.c
+++ b/drivers/mtd/nand/bf5xx_nand.c
@@ -630,7 +630,7 @@ static int bf5xx_nand_hw_init(struct bf5xx_nand_info *info)
/*
* Device management interface
*/
-static int bf5xx_nand_add_partition(struct bf5xx_nand_info *info)
+static int __devinit bf5xx_nand_add_partition(struct bf5xx_nand_info *info)
{
struct mtd_info *mtd = &info->mtd;
More information about the linux-mtd-cvs
mailing list