OSDN Git Service

ARM: pxa: fix pxa2xx-flash section mismatch
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 9 Oct 2010 22:34:28 +0000 (00:34 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 30 Nov 2010 12:14:04 +0000 (20:14 +0800)
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/mtd/maps/pxa2xx-flash.c

index dd90880..d8ae634 100644 (file)
@@ -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;