aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/pmc551.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/devices/pmc551.c')
-rw-r--r--drivers/mtd/devices/pmc551.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/devices/pmc551.c b/drivers/mtd/devices/pmc551.c
index 67d22e1cbc0e..933127ecebe5 100644
--- a/drivers/mtd/devices/pmc551.c
+++ b/drivers/mtd/devices/pmc551.c
@@ -206,11 +206,12 @@ static int pmc551_point(struct mtd_info *mtd, loff_t from, size_t len,
206 return 0; 206 return 0;
207} 207}
208 208
209static void pmc551_unpoint(struct mtd_info *mtd, loff_t from, size_t len) 209static int pmc551_unpoint(struct mtd_info *mtd, loff_t from, size_t len)
210{ 210{
211#ifdef CONFIG_MTD_PMC551_DEBUG 211#ifdef CONFIG_MTD_PMC551_DEBUG
212 printk(KERN_DEBUG "pmc551_unpoint()\n"); 212 printk(KERN_DEBUG "pmc551_unpoint()\n");
213#endif 213#endif
214 return 0;
214} 215}
215 216
216static int pmc551_read(struct mtd_info *mtd, loff_t from, size_t len, 217static int pmc551_read(struct mtd_info *mtd, loff_t from, size_t len,