Commit 9fb4beb1 authored by Michael Walle's avatar Michael Walle Committed by Tudor Ambarus
Browse files

mtd: spi-nor: guard _page_size parameter in S3AN_INFO()



The _page_size marco parameter was missing parentheses around it. Add
them.

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: default avatarPratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20220223134358.1914798-21-michael@walle.cc
parent 66cf87c6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -469,9 +469,9 @@ struct flash_info {
			(_jedec_id) & 0xff				\
			},						\
		.id_len = 3,						\
		.sector_size = (8*_page_size),				\
		.sector_size = (8 * (_page_size)),			\
		.n_sectors = (_n_sectors),				\
		.page_size = _page_size,				\
		.page_size = (_page_size),				\
		.addr_width = 3,					\
		.flags = SPI_NOR_NO_FR | SPI_NOR_XSR_RDY,