diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-07-31 02:37:34 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-10-19 10:19:57 -0400 |
commit | bb00e180a93a6c8e89c3b2d1f9473781e1e2d2a4 (patch) | |
tree | 87bd9ddc65052014e36e4fb0565e73d7ff4dd992 /drivers/mtd/ubi/ubi.h | |
parent | 0525dac9fd31e5a12fb934238abd09e2752a5967 (diff) |
UBI: make check_pattern function non-static
This patch turns static function 'check_pattern()' into a non-static
'ubi_check_pattern()'. This is just a preparation for the chages which
are coming in the next patches.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 10990770bc9e..8831d7ba9f21 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -511,6 +511,7 @@ int ubi_calc_data_len(const struct ubi_device *ubi, const void *buf, | |||
511 | int length); | 511 | int length); |
512 | int ubi_check_volume(struct ubi_device *ubi, int vol_id); | 512 | int ubi_check_volume(struct ubi_device *ubi, int vol_id); |
513 | void ubi_calculate_reserved(struct ubi_device *ubi); | 513 | void ubi_calculate_reserved(struct ubi_device *ubi); |
514 | int ubi_check_pattern(const void *buf, uint8_t patt, int size); | ||
514 | 515 | ||
515 | /* eba.c */ | 516 | /* eba.c */ |
516 | int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, | 517 | int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, |