ftl: use void * instead of uint8_t *

This commit is contained in:
S.J.R. van Schaik 2017-05-19 15:03:22 +02:00
parent e31a852225
commit 602ebb364d
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ struct ftl_journal {
int ftl_init_journal(struct ftl_journal *j, struct flash_dev *dev);
int ftl_resume_journal(struct ftl_journal *j);
int ftl_write(struct ftl_journal *j, uint32_t addr, const uint8_t *data);
int ftl_read(struct ftl_journal *j, uint8_t *data, size_t len, uint32_t va);
int ftl_read(struct ftl_journal *j, void *data, size_t len, uint32_t va);
int ftl_trim(struct ftl_journal *j, uint32_t va);
uint32_t ftl_get_size(const struct ftl_journal *j);
uint32_t ftl_get_capacity(const struct ftl_journal *j);