fs: littlefs: Rename *area (struct flash_area*) to *backend void pointer
The struct flash_area *area pointer has been renamed to void *backend pointer. This change is enabling further rework of the littlefs subsystem to work with other backend devices (like block ones - i.e. SD card). Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
d2538475c6
commit
6fa771f2d0
2 changed files with 21 additions and 18 deletions
|
@ -35,7 +35,7 @@ struct fs_littlefs {
|
|||
|
||||
/* These structures are filled automatically at mount. */
|
||||
struct lfs lfs;
|
||||
const struct flash_area *area;
|
||||
void *backend;
|
||||
struct k_mutex mutex;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue