summaryrefslogtreecommitdiff
path: root/fs/fs_internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fs_internal.c')
-rw-r--r--fs/fs_internal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/fs_internal.c b/fs/fs_internal.c
index d369c43ca68..8b19811a639 100644
--- a/fs/fs_internal.c
+++ b/fs/fs_internal.c
@@ -6,11 +6,13 @@
*/
#include <common.h>
+#include <blk.h>
#include <compiler.h>
+#include <log.h>
#include <part.h>
#include <memalign.h>
-int fs_devread(struct blk_desc *blk, disk_partition_t *partition,
+int fs_devread(struct blk_desc *blk, struct disk_partition *partition,
lbaint_t sector, int byte_offset, int byte_len, char *buf)
{
unsigned block_len;