UBI: make ubi_scan_erase_peb static and rename
commit13d33dad35c2a168d17cc993ea496b8eb9dd9624
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 17 May 2012 12:20:28 +0000 (17 15:20 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sun, 20 May 2012 17:26:02 +0000 (20 20:26 +0300)
treeb8d39f8539cb125ccea4b0f5244d9c00735a2b57
parent517af48c0540e61bbe0ebbb5f463afe937b73894
UBI: make ubi_scan_erase_peb static and rename

The 'ubi_scan_erase_peb()' is used only in scan.c so can be static. Also
re-name it to 'early_erase_peb()' because we tend to use "ubi_" prefix only for
non-static fuction and also because the new name is better.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/scan.c
drivers/mtd/ubi/scan.h