immortalwrt/target/linux/lantiq
Aleksander Jan Bajkowski 4935cdbd69
lantiq: fix compilation warning in cfi_mtdset_0001
Some write buffer functions are not used when FORCE_WORD_WRITE is set to 1.
So the compile warning messages are output if FORCE_WORD_WRITE is 1. To
resolve this disable the write buffer functions if FORCE_WORD_WRITE is 1.

This fix compilation warning:
drivers/mtd/chips/cfi_cmdset_0001.c:307:13: warning: 'fixup_use_write_buffers' defined but not used [-Wunused-function]
  307 | static void fixup_use_write_buffers(struct mtd_info *mtd)
      |             ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2023-05-12 03:15:35 +02:00
..
ase lantiq: copy Linux 5.10 files in preparation for Linux 5.15 support 2022-10-22 19:44:45 +02:00
base-files lantiq: xrx200: switch the subtarget to the mainline DSA driver 2021-06-26 16:05:36 +02:00
falcon lantiq: copy Linux 5.10 files in preparation for Linux 5.15 support 2022-10-22 19:44:45 +02:00
files lantiq: xrx200: convert FritzBox 7360v2's wifi to nvmem 2023-03-26 16:39:37 +02:00
image lantiq: xway: use capital letters in Fritz!Box name 2023-05-04 06:09:11 +02:00
patches-5.10 lantiq: nand: don't yield while holding spinlock 2023-04-02 17:08:45 +02:00
patches-5.15 lantiq: fix compilation warning in cfi_mtdset_0001 2023-05-12 03:15:35 +02:00
xrx200 lantiq: xrx200: mark subtarget as source-only 2023-05-04 05:55:02 +02:00
xway lantiq: xway: kernel: enable SMP support 2022-11-18 20:27:52 +01:00
xway_legacy lantiq: copy Linux 5.10 files in preparation for Linux 5.15 support 2022-10-22 19:44:45 +02:00
config-5.10 kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
config-5.15 lantiq: copy Linux 5.10 files in preparation for Linux 5.15 support 2022-10-22 19:44:45 +02:00
Makefile lantiq: switch to Kernel 5.15 by default 2023-05-04 07:00:37 +02:00
modules.mk target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00