All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] MTD/pxa: use __devinit for pxa2xx_flash_probe
@ 2010-06-05  6:44 ` Wan ZongShun
  0 siblings, 0 replies; 4+ messages in thread
From: Wan ZongShun @ 2010-06-05  6:44 UTC (permalink / raw)
  To: David Woodhouse, eric.y.miao, linux-arm-kernel, linux-mtd

This patch is to use the '__devinit' for pxa2xx_flash_probe.


Signed-off-by :Wan ZongShun <mcuos.com@gmail.com>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-05  7:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05  6:44 [PATCH 2/3] MTD/pxa: use __devinit for pxa2xx_flash_probe Wan ZongShun
2010-06-05  6:44 ` Wan ZongShun
2010-06-05  7:14 ` Eric Miao
2010-06-05  7:14   ` Eric Miao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.