mtd: spi: Add 'struct spi_flash {' to the code
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:13 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:51:00 +0000 (13:51 +0800)
commit7e45bb0867fd88ff044a71903882e6ff098dea11
treeccf4e821a0c2ab845d04b71ec58c4d0ce59e2c57
parent1f338e00fa81e72380c788163fc3c63939bf5eea
mtd: spi: Add 'struct spi_flash {' to the code

At present spi_flash is defined to be spi_nor which is confusing since it
is not possible to find the 'spi_flash' by normal text search. Add a
comment to help with this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/linux/mtd/spi-nor.h