summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-12-13 00:45:39 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-13 00:45:39 +0100
commit819c1a651fec6b370211609ce6eceefd20cf31e4 (patch)
treeabfe2a3c84e4987f71ea9b71a0bc771c2c7f2a50 /drivers
parentARM: Update mach-types (diff)
parentARM: pxa/palm: fix ifdef around gen_nand driver registration (diff)
downloadlinux-819c1a651fec6b370211609ce6eceefd20cf31e4.tar.xz
linux-819c1a651fec6b370211609ce6eceefd20cf31e4.zip
Merge branch 'fix' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/maps/pxa2xx-flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c
index dd90880048cf..d8ae634d347e 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;