From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C09F25E.8090908@gmail.com> Date: Sat, 05 Jun 2010 14:44:46 +0800 From: Wan ZongShun MIME-Version: 1.0 To: David Woodhouse , eric.y.miao@gmail.com, linux-arm-kernel , linux-mtd Subject: [PATCH 2/3] MTD/pxa: use __devinit for pxa2xx_flash_probe Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This patch is to use the '__devinit' for pxa2xx_flash_probe. Signed-off-by :Wan ZongShun --- 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 1d2583f..43f8bb8 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; -- 1.6.3.3 From mboxrd@z Thu Jan 1 00:00:00 1970 From: mcuos.com@gmail.com (Wan ZongShun) Date: Sat, 05 Jun 2010 14:44:46 +0800 Subject: [PATCH 2/3] MTD/pxa: use __devinit for pxa2xx_flash_probe Message-ID: <4C09F25E.8090908@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This patch is to use the '__devinit' for pxa2xx_flash_probe. Signed-off-by :Wan ZongShun --- 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 1d2583f..43f8bb8 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; -- 1.6.3.3