drivers/mtd/ramtron: change nsectors size to uint32

This commit is contained in:
Igor Mišić 2023-02-17 11:50:05 +01:00 committed by Alan Carvalho de Assis
parent 85ceb7920e
commit 8e4d461d61
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ struct ramtron_dev_s
FAR struct spi_dev_s *dev; /* Saved SPI interface instance */ FAR struct spi_dev_s *dev; /* Saved SPI interface instance */
uint8_t sectorshift; uint8_t sectorshift;
uint8_t pageshift; uint8_t pageshift;
uint16_t nsectors; uint32_t nsectors;
uint32_t npages; uint32_t npages;
uint32_t speed; /* Overridable via ioctl */ uint32_t speed; /* Overridable via ioctl */
FAR const struct ramtron_parts_s *part; /* Part instance */ FAR const struct ramtron_parts_s *part; /* Part instance */