aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/ubi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r--drivers/mtd/ubi/ubi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index 4c3607e5743e..2a6171226f1f 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -483,7 +483,7 @@ int ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum,
483 struct ubi_vid_hdr *vid_hdr); 483 struct ubi_vid_hdr *vid_hdr);
484 484
485/* build.c */ 485/* build.c */
486int ubi_attach_mtd_dev(struct mtd_info *mtd, int vid_hdr_offset); 486int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset);
487int ubi_detach_mtd_dev(int ubi_num, int anyway); 487int ubi_detach_mtd_dev(int ubi_num, int anyway);
488struct ubi_device *ubi_get_device(int ubi_num); 488struct ubi_device *ubi_get_device(int ubi_num);
489void ubi_put_device(struct ubi_device *ubi); 489void ubi_put_device(struct ubi_device *ubi);