diff options
author | Boris Brezillon <bbrezillon@kernel.org> | 2020-03-13 20:42:50 +0100 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2020-03-17 08:28:06 +0100 |
commit | a674d5a6c8c094c3c6c3f88b01021c21550ee76b (patch) | |
tree | 381603cb0be61176c5ce40bbd25dcb2aa5c23940 /drivers/mtd/spi-nor/core.h | |
parent | mtd: spi-nor: Move Xilinx bits out of core.c (diff) | |
download | linux-a674d5a6c8c094c3c6c3f88b01021c21550ee76b.tar.xz linux-a674d5a6c8c094c3c6c3f88b01021c21550ee76b.zip |
mtd: spi-nor: Move XMC bits out of core.c
Create a SPI NOR manufacturer driver for XMC chips, and move the
XMC definitions outside of core.c.
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'drivers/mtd/spi-nor/core.h')
-rw-r--r-- | drivers/mtd/spi-nor/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/core.h b/drivers/mtd/spi-nor/core.h index 8c666bff5768..2bc620708d6f 100644 --- a/drivers/mtd/spi-nor/core.h +++ b/drivers/mtd/spi-nor/core.h @@ -173,6 +173,7 @@ extern const struct spi_nor_manufacturer spi_nor_spansion; extern const struct spi_nor_manufacturer spi_nor_sst; extern const struct spi_nor_manufacturer spi_nor_winbond; extern const struct spi_nor_manufacturer spi_nor_xilinx; +extern const struct spi_nor_manufacturer spi_nor_xmc; int spi_nor_write_enable(struct spi_nor *nor); int spi_nor_write_disable(struct spi_nor *nor); |