summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 22:21:24 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-05-26 19:40:32 +0200
commit650a8884a364ff2568b51cde9009cfd43cdae6ad (patch)
treebbf73e457ce9b7f1697e65c1d6584436a60f0143 /fs/nilfs2
parent420c4495b5e56cc11e6802ce98400544f698b393 (diff)
downloadlinux-stable-650a8884a364ff2568b51cde9009cfd43cdae6ad.tar.gz
linux-stable-650a8884a364ff2568b51cde9009cfd43cdae6ad.tar.bz2
linux-stable-650a8884a364ff2568b51cde9009cfd43cdae6ad.zip
mtd: rawnand: ingenic: fix empty stub helper definitions
A few functions provide an empty interface definition when CONFIG_MTD_NAND_INGENIC_ECC is disabled, but they are accidentally defined as global functions in the header: drivers/mtd/nand/raw/ingenic/ingenic_ecc.h:39:5: error: no previous prototype for 'ingenic_ecc_calculate' drivers/mtd/nand/raw/ingenic/ingenic_ecc.h:46:5: error: no previous prototype for 'ingenic_ecc_correct' drivers/mtd/nand/raw/ingenic/ingenic_ecc.h:53:6: error: no previous prototype for 'ingenic_ecc_release' drivers/mtd/nand/raw/ingenic/ingenic_ecc.h:57:21: error: no previous prototype for 'of_ingenic_ecc_get' Turn them into 'static inline' definitions instead. Fixes: 15de8c6efd0e ("mtd: rawnand: ingenic: Separate top-level and SoC specific code") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230516202133.559488-1-arnd@kernel.org
Diffstat (limited to 'fs/nilfs2')
0 files changed, 0 insertions, 0 deletions