As presented in https://github.com/apache/nuttx/pull/16793

The idea is to remove old use of ftl_initialize() and rename
ftl_initialize_by_path() to ftl_initialize() which provides more
generic access. But this will break FTL API in terms of function
parameters and functionality. This comes after several changes in
FTL/MTD implementation that makes no use of old ftl_initialize()
there.

int ftl_initialize_by_path(FAR const char *path, FAR struct mtd_dev_s
*mtd, int oflags)

becomes

int ftl_initialize(FAR const char *path, FAR struct mtd_dev_s *mtd, int oflags).

Old int ftl_initialize(int minor, FAR struct mtd_dev_s *mtd) is gone.
It wrapped ftl_initialize_by_path() before, now it is used directly
where path and oflags needs to be passed as described above.

If there are any users of this functionality please let us know it
that change will impact your solutions and if update can be a problem
for you.

Thanks :-)
Tomek


-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Reply via email to