aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2009-03-04 15:01:29 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-03-20 08:17:43 -0400
commit8d30cab06920f9efb7e089f2c69e451b2a637d8a (patch)
tree2378cd5e66b2d0971e503e9291a8f3d25286f3d5 /drivers
parent08d2503ecc2337275942c1f52822b7a464c0c0a3 (diff)
[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@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/bf5xx_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 5c6056e02426..520314d4a805 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)
630/* 630/*
631 * Device management interface 631 * Device management interface
632 */ 632 */
633static int bf5xx_nand_add_partition(struct bf5xx_nand_info *info) 633static int __devinit bf5xx_nand_add_partition(struct bf5xx_nand_info *info)
634{ 634{
635 struct mtd_info *mtd = &info->mtd; 635 struct mtd_info *mtd = &info->mtd;
636 636