bcm63xx: 5.15: comment unused macronix_nand_block_protection_support
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 9 May 2023 11:58:37 +0000 (13:58 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 01:15:42 +0000 (03:15 +0200)
commitf47c378113182db6aac2cfd5dd79381882fa3d16
treed0a4d6857edc61c083ca8ba1456aa5845a9e512a
parent4d702a5399dc9d461fc1f0fd566e656f9a7efd48
bcm63xx: 5.15: comment unused macronix_nand_block_protection_support

Comment unused macronix_nand_block_protection_support due to workaround
needed to fix booting
Fix compilation warning:
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/bcm63xx/patches-5.15/111-drivers-mtd-nand-macronix-comment-unused-function.patch [new file with mode: 0644]