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:
Lukasz Majewski 2022-01-10 11:52:38 +01:00 committed by Anas Nashif
commit 6fa771f2d0
2 changed files with 21 additions and 18 deletions

View file

@ -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;
};