diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-19 14:43:32 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-26 12:15:17 -0500 |
commit | dd38fccfbc77e12417512c38508a5283ea79a375 (patch) | |
tree | 591cae6d1ebdbdc52fc9d38bcb3454c3487bd9a0 /drivers/mtd/ubi/ubi.h | |
parent | cdfa788acd134a35d3e5b73d1a76fca4033d8aa9 (diff) |
UBI: remove data_offset
'data_offset' parameter does not really make sense and it is not
needed. Get rid of it.
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 25ff15a7fc58..4c3607e5743e 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -483,8 +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 vid_hdr_offset); |
487 | int data_offset); | ||
488 | int ubi_detach_mtd_dev(int ubi_num, int anyway); | 487 | int ubi_detach_mtd_dev(int ubi_num, int anyway); |
489 | struct ubi_device *ubi_get_device(int ubi_num); | 488 | struct ubi_device *ubi_get_device(int ubi_num); |
490 | void ubi_put_device(struct ubi_device *ubi); | 489 | void ubi_put_device(struct ubi_device *ubi); |