summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/ubi.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-07-31 08:37:34 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-19 16:19:57 +0200
commitbb00e180a93a6c8e89c3b2d1f9473781e1e2d2a4 (patch)
tree87bd9ddc65052014e36e4fb0565e73d7ff4dd992 /drivers/mtd/ubi/ubi.h
parentUBI: do not put eraseblocks to the corrupted list unnecessarily (diff)
downloadlinux-bb00e180a93a6c8e89c3b2d1f9473781e1e2d2a4.tar.xz
linux-bb00e180a93a6c8e89c3b2d1f9473781e1e2d2a4.zip
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.h1
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,
int length);
int ubi_check_volume(struct ubi_device *ubi, int vol_id);
void ubi_calculate_reserved(struct ubi_device *ubi);
+int ubi_check_pattern(const void *buf, uint8_t patt, int size);
/* eba.c */
int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol,