diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-18 06:34:32 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-24 06:36:09 -0400 |
commit | ebaaf1af3e9ef05c4fb7c61e4530c15e1ad10e3b (patch) | |
tree | 3ecf6d4439ca27b4a3f7ae7c105eb94f3b16f978 /drivers/mtd/ubi/build.c | |
parent | 9c9ec147709e63e4e8ac6a037c6bb50688ff8e9c (diff) |
UBI: fix kernel-doc errors and warnings
No functional changes, just tweak comments to make kernel-doc
work fine and stop complaining.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/build.c')
-rw-r--r-- | drivers/mtd/ubi/build.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 535d9a8a6ba8..eba760b3b8c7 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c | |||
@@ -159,8 +159,7 @@ void ubi_put_device(struct ubi_device *ubi) | |||
159 | } | 159 | } |
160 | 160 | ||
161 | /** | 161 | /** |
162 | * ubi_get_by_major - get UBI device description object by character device | 162 | * ubi_get_by_major - get UBI device by character device major number. |
163 | * major number. | ||
164 | * @major: major number | 163 | * @major: major number |
165 | * | 164 | * |
166 | * This function is similar to 'ubi_get_device()', but it searches the device | 165 | * This function is similar to 'ubi_get_device()', but it searches the device |
@@ -727,7 +726,7 @@ static int autoresize(struct ubi_device *ubi, int vol_id) | |||
727 | 726 | ||
728 | /** | 727 | /** |
729 | * ubi_attach_mtd_dev - attach an MTD device. | 728 | * ubi_attach_mtd_dev - attach an MTD device. |
730 | * @mtd_dev: MTD device description object | 729 | * @mtd: MTD device description object |
731 | * @ubi_num: number to assign to the new UBI device | 730 | * @ubi_num: number to assign to the new UBI device |
732 | * @vid_hdr_offset: VID header offset | 731 | * @vid_hdr_offset: VID header offset |
733 | * | 732 | * |
@@ -1095,8 +1094,7 @@ static void __exit ubi_exit(void) | |||
1095 | module_exit(ubi_exit); | 1094 | module_exit(ubi_exit); |
1096 | 1095 | ||
1097 | /** | 1096 | /** |
1098 | * bytes_str_to_int - convert a string representing number of bytes to an | 1097 | * bytes_str_to_int - convert a number of bytes string into an integer. |
1099 | * integer. | ||
1100 | * @str: the string to convert | 1098 | * @str: the string to convert |
1101 | * | 1099 | * |
1102 | * This function returns positive resulting integer in case of success and a | 1100 | * This function returns positive resulting integer in case of success and a |