summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/bf5xx_nand.c
diff options
context:
space:
mode:
authorMike Frysinger2009-03-04 21:01:29 +0100
committerDavid Woodhouse2009-03-20 13:17:43 +0100
commit8d30cab06920f9efb7e089f2c69e451b2a637d8a (patch)
tree2378cd5e66b2d0971e503e9291a8f3d25286f3d5 /drivers/mtd/nand/bf5xx_nand.c
parent[MTD] [NAND] Blackfin NFC Driver: do not clobber DMAC1_PERIMUX (diff)
downloadkernel-qcow2-linux-8d30cab06920f9efb7e089f2c69e451b2a637d8a.tar.gz
kernel-qcow2-linux-8d30cab06920f9efb7e089f2c69e451b2a637d8a.tar.xz
kernel-qcow2-linux-8d30cab06920f9efb7e089f2c69e451b2a637d8a.zip
[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/mtd/nand/bf5xx_nand.c')
-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)
/*
* 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;