mtd: spi-nor: export spi_nor_hwcaps_pp2cmd()
[platform/kernel/linux-starfive.git] / drivers / mtd / spi-nor / core.c
index 94f9847..8377bd1 100644 (file)
@@ -1850,7 +1850,7 @@ int spi_nor_hwcaps_read2cmd(u32 hwcaps)
                                  ARRAY_SIZE(hwcaps_read2cmd));
 }
 
-static int spi_nor_hwcaps_pp2cmd(u32 hwcaps)
+int spi_nor_hwcaps_pp2cmd(u32 hwcaps)
 {
        static const int hwcaps_pp2cmd[][2] = {
                { SNOR_HWCAPS_PP,               SNOR_CMD_PP },