Kinsey Moore started a new discussion on bsps/include/dev/spi/xqspips_flash.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/804#note_135050 > + * @param[in] xQspiDev A initialised XQspiPs device to wrap. > + * > + * @retval A pointer to the rtems_flashdev. > + * @retval NULL on failure. > +*/ > +rtems_flashdev *xqspi_flashdev_init(XQspiPs *xQspiDev); > + > +/* > + * @brief Destroys a rtems_flashdev initialised with xqspi_flash_init. > + * If an rtems_flashdev is created using xqspi_flash_init it must be > + * destroyed using xqspi_flash_destroy. The xqspiflash originally passed in > + * is untouched. > + * > + * @param[in] flash The flashdev to destroy > +*/ > +void xqspi_flashdev_destroy(rtems_flashdev *flash); Please look at the recent changes to the flashdev API. This function is no longer necessary due to destructor sequencing changes/corrections and should instead be reworked into the priv_destroy callback. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/804#note_135050 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
