From patchwork Sat Jun 5 09:07:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCHv2,1/3] MTD/pxa: use __devinit for pxa2xx_flash_probe Date: Fri, 04 Jun 2010 23:07:06 -0000 From: Wan ZongShun X-Patchwork-Id: 54742 Message-Id: <4C0A13BA.6050700@gmail.com> To: David Woodhouse , Eric Miao , linux-arm-kernel , linux-mtd This patch is to use the '__devinit' for pxa2xx_flash_probe. Signed-off-by: Wan ZongShun Acked-by: Eric Miao --- drivers/mtd/maps/pxa2xx-flash.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c index dd90880..d8ae634 100644 --- a/drivers/mtd/maps/pxa2xx-flash.c +++ b/drivers/mtd/maps/pxa2xx-flash.c @@ -51,7 +51,7 @@ struct pxa2xx_flash_info { static const char *probes[] = { "RedBoot", "cmdlinepart", NULL }; -static int __init pxa2xx_flash_probe(struct platform_device *pdev) +static int __devinit pxa2xx_flash_probe(struct platform_device *pdev) { struct flash_platform_data *flash = pdev->dev.platform_data; struct pxa2xx_flash_info *info;