]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: cfi_cmdset_0002: Disable write buffer functions if FORCE_WORD_WRITE is 1
authorTokunori Ikegami <ikegami.t@gmail.com>
Mon, 5 Aug 2019 19:03:26 +0000 (04:03 +0900)
committerVignesh Raghavendra <vigneshr@ti.com>
Tue, 27 Aug 2019 12:25:53 +0000 (17:55 +0530)
commit557c759036fc3976a5358cef23e65a263853b93f
treeb9bca24930542e839518c63859b7891762743af1
parent0bcf880b062ef88d144ffe90918c56dd11e3d935
mtd: cfi_cmdset_0002: Disable write buffer functions if FORCE_WORD_WRITE is 1

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.

Cc: Fabio Bettoni <fbettoni@gmail.com>
Co: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/mtd/chips/cfi_cmdset_0002.c