mtd: Blackfin NFC Driver: mark bf5xx_nand_add_partition() as __devinit
Subsystems (2)
PATCH 2/15 mtd: Blackfin NFC Driver: mark bf5xx_nand_add_partition() as __devinit
From: Mike Frysinger <[email protected]>
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 <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
Cc David Woodhouse <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/mtd/nand/bf5xx_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/bf5xx_nand.c renamed from drivers/mtd/nand/bf5xx_nand.c~blackfin-nfc-driver-mark-bf5xx_nand_add_partition-as-__devinit +1 -1
@@ -630,7 +630,7 @@ static int bf5xx_nand_hw_init(struct bf5/* * 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;
_