diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-18 11:23:39 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-26 12:15:17 -0500 |
commit | 897a316c9e6f7fea6f1d3759797b75c0ebaec479 (patch) | |
tree | 487f211f3a862d8948ba19ca3f645c7a37f4d547 /drivers/mtd/ubi/ubi.h | |
parent | 9b79cc0f84edecceb04b806b9014fcec1306c34d (diff) |
UBI: handle attach ioctl
Actually implement the MTD device attach/detach handlers.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 2 |
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 */ |
486 | int ubi_attach_mtd_dev(struct mtd_info *mtd, int vid_hdr_offset); | 486 | int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset); |
487 | int ubi_detach_mtd_dev(int ubi_num, int anyway); | 487 | int ubi_detach_mtd_dev(int ubi_num, int anyway); |
488 | struct ubi_device *ubi_get_device(int ubi_num); | 488 | struct ubi_device *ubi_get_device(int ubi_num); |
489 | void ubi_put_device(struct ubi_device *ubi); | 489 | void ubi_put_device(struct ubi_device *ubi); |