stbenn commented on PR #15987:
URL: https://github.com/apache/nuttx/pull/15987#issuecomment-2721439683

   If breaking backwards compatibility with the initialization is not 
acceptable, it could be broken into two functions. `FAR struct mtd_dev_s 
ramtron_initialize(FAR struct spi_dev_s *dev)` (same as before) and `FAR struct 
mtd_dev_s ramtron_initialize_devid(FAR struct spi_dev_s *dev, uint16_t 
spi_devid)`.
   
   The backwards compatible function would just call the new one with 
`spi_devid = 0`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to