This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e4d461d61 drivers/mtd/ramtron: change nsectors size to uint32
8e4d461d61 is described below

commit 8e4d461d61b26e3604b6b750ef4b6ec9e6767cb1
Author: Igor Mišić <[email protected]>
AuthorDate: Fri Feb 17 11:50:05 2023 +0100

    drivers/mtd/ramtron: change nsectors size to uint32
---
 drivers/mtd/ramtron.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/ramtron.c b/drivers/mtd/ramtron.c
index 3ce90661e2..b3268f4fb9 100644
--- a/drivers/mtd/ramtron.c
+++ b/drivers/mtd/ramtron.c
@@ -143,7 +143,7 @@ struct ramtron_dev_s
   FAR struct spi_dev_s *dev;               /* Saved SPI interface instance */
   uint8_t sectorshift;
   uint8_t pageshift;
-  uint16_t nsectors;
+  uint32_t nsectors;
   uint32_t npages;
   uint32_t speed;                          /* Overridable via ioctl */
   FAR const struct ramtron_parts_s *part;  /* Part instance */

Reply via email to