Merge tag 'riscv-for-linus-5.20-mw0' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / drivers / mtd / spi-nor / xilinx.c
index 1d2f5db..5723157 100644 (file)
@@ -31,7 +31,7 @@
                .sector_size = (8 * (_page_size)),                      \
                .n_sectors = (_n_sectors),                              \
                .page_size = (_page_size),                              \
-               .addr_width = 3,                                        \
+               .addr_nbytes = 3,                                       \
                .flags = SPI_NOR_NO_FR
 
 /* Xilinx S3AN share MFR with Atmel SPI NOR */