summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/otp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/spi-nor/otp.c')
-rw-r--r--drivers/mtd/spi-nor/otp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/otp.c b/drivers/mtd/spi-nor/otp.c
index 983e40b19134..fa63d8571218 100644
--- a/drivers/mtd/spi-nor/otp.c
+++ b/drivers/mtd/spi-nor/otp.c
@@ -480,7 +480,7 @@ out:
return ret;
}
-void spi_nor_otp_init(struct spi_nor *nor)
+void spi_nor_set_mtd_otp_ops(struct spi_nor *nor)
{
struct mtd_info *mtd = &nor->mtd;