Skip to content

Commit 4ecdb92

Browse files
jingfei195887Donny9
authored andcommitted
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 8fbba09 commit 4ecdb92

File tree

1 file changed

+97
-116
lines changed

1 file changed

+97
-116
lines changed

0 commit comments

Comments
 (0)