bmips: 5.15: comment unused macronix_nand_block_protection_support
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 9 May 2023 12:05:41 +0000 (14:05 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 01:15:42 +0000 (03:15 +0200)
commit150508e47c90918650f2b7cca00c17f4cab86422
tree7be8c77c511af444549070c042c36a9142612417
parentf47c378113182db6aac2cfd5dd79381882fa3d16
bmips: 5.15: comment unused macronix_nand_block_protection_support

Comment unused function macronix_nand_block_protection_support since it
does cause boot problem
Fix compilation error:
drivers/mtd/nand/raw/nand_macronix.c:220:13: error: 'macronix_nand_block_protection_support' defined but not used [-Werror=unused-function]
  220 | static void macronix_nand_block_protection_support(struct nand_chip *chip)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/bmips/patches-5.15/211-drivers-mtd-nand-macronix-comment-unused-function.patch [new file with mode: 0644]