aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/sa1100-flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/maps/sa1100-flash.c')
-rw-r--r--drivers/mtd/maps/sa1100-flash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/maps/sa1100-flash.c b/drivers/mtd/maps/sa1100-flash.c
index 7aebc82a5c6d..f694417cf7e6 100644
--- a/drivers/mtd/maps/sa1100-flash.c
+++ b/drivers/mtd/maps/sa1100-flash.c
@@ -149,7 +149,8 @@ static void sa1100_destroy(struct sa_info *info, struct flash_platform_data *pla
149 plat->exit(); 149 plat->exit();
150} 150}
151 151
152static struct sa_info *sa1100_setup_mtd(struct platform_device *pdev, struct flash_platform_data *plat) 152static struct sa_info *sa1100_setup_mtd(struct platform_device *pdev,
153 struct flash_platform_data *plat)
153{ 154{
154 struct sa_info *info; 155 struct sa_info *info;
155 int nr, size, i, ret = 0; 156 int nr, size, i, ret = 0;