Skip to content

Commit e4a1bec

Browse files
committed
examples/mtdpart:Register MTD devices using the mtd_register method
1. Due to the automatic wrapping of MTD devices during the open() process, the legacy registration methods ftl_initialize() and bchdev_register() are no longer required for MTD device registration. The new method is now changed to register_mtddriver 2. Some code for space release and deregistration has been added, and certain error handling methods have been updated.
1 parent 2de49b8 commit e4a1bec

File tree

1 file changed

+97
-116
lines changed

1 file changed

+97
-116
lines changed

0 commit comments

Comments
 (0)