summaryrefslogtreecommitdiffstats
path: root/include/sandboxblockdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sandboxblockdev.h')
-rw-r--r--include/sandboxblockdev.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sandboxblockdev.h b/include/sandboxblockdev.h
index 627787aa32..5174f45f5e 100644
--- a/include/sandboxblockdev.h
+++ b/include/sandboxblockdev.h
@@ -8,7 +8,9 @@
#define __SANDBOX_BLOCK_DEV__
struct host_block_dev {
- block_dev_desc_t blk_dev;
+#ifndef CONFIG_BLK
+ struct blk_desc blk_dev;
+#endif
char *filename;
int fd;
};
OpenPOWER on IntegriCloud