mbox series

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

Message ID 20240707094302.784948-1-olek2@wp.pl
Headers show
Series mtd: cfi_cmdset_0001: Fix compilation error if FORCE_WORD_WRITE is 1 | expand

Message

Aleksander Jan Bajkowski July 7, 2024, 9:43 a.m. UTC
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(+)