[PATCH v2 0/1] mtd: cfi_cmdset_0001: Fix compilation error if FORCE_WORD_WRITE is 1

From: Aleksander Jan Bajkowski
Date: Sun Jul 07 2024 - 06:09:59 EST


This patch fixes compilation errors when FORCE_WORD_WRITE is set to 1
and CONFIG_WERROR is enabled. CONFIG_WERROR was enabled by OpenWRT
a year ago and this patch has been used downstream since then.

Changes in v2:
- Rebased on top of the master

Aleksander Jan Bajkowski (1):
mtd: cfi_cmdset_0001: Disable write buffer functions if
FORCE_WORD_WRITE is 1

drivers/mtd/chips/cfi_cmdset_0001.c | 6 ++++++
1 file changed, 6 insertions(+)

--
2.39.2