[Bugfix][API-584]update reduce ubi problem
Change-Id: I4938f92af4391e63f012b7a5f93230ca43ecd8f8
diff --git a/src/kernel/linux/v4.19/drivers/mtd/ubi/io.c b/src/kernel/linux/v4.19/drivers/mtd/ubi/io.c
index 48df1f1..78cc3af 100644
--- a/src/kernel/linux/v4.19/drivers/mtd/ubi/io.c
+++ b/src/kernel/linux/v4.19/drivers/mtd/ubi/io.c
@@ -459,7 +459,7 @@
* magic numbers in order to invalidate them and prevent the failures. Returns
* zero in case of success and a negative error code in case of failure.
*/
-static int nor_erase_prepare(struct ubi_device *ubi, int pnum)
+static int erase_prepare(struct ubi_device *ubi, int pnum)
{
int err, ec_err, vid_err;
size_t written;