summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/xilinx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/spi-nor/xilinx.c')
-rw-r--r--drivers/mtd/spi-nor/xilinx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/xilinx.c b/drivers/mtd/spi-nor/xilinx.c
index 5723157739fc..7175de8aa336 100644
--- a/drivers/mtd/spi-nor/xilinx.c
+++ b/drivers/mtd/spi-nor/xilinx.c
@@ -31,6 +31,7 @@
.sector_size = (8 * (_page_size)), \
.n_sectors = (_n_sectors), \
.page_size = (_page_size), \
+ .n_banks = 1, \
.addr_nbytes = 3, \
.flags = SPI_NOR_NO_FR