Skip to content

Commit 8d30cab

Browse files
Mike FrysingerDavid Woodhouse
authored andcommitted
[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>
1 parent 08d2503 commit 8d30cab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/nand/bf5xx_nand.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ static int bf5xx_nand_hw_init(struct bf5xx_nand_info *info)
630630
/*
631631
* Device management interface
632632
*/
633-
static int bf5xx_nand_add_partition(struct bf5xx_nand_info *info)
633+
static int __devinit bf5xx_nand_add_partition(struct bf5xx_nand_info *info)
634634
{
635635
struct mtd_info *mtd = &info->mtd;
636636

0 commit comments

Comments
 (0)