X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fsandboxblockdev.h;h=5174f45f5e282ed02a0899ceeda0d7d02fdf1dd4;hb=2deb3cac086ed1d7b62a02a41fe6645e9d07bb2b;hp=627787aa326280a6afe3eefc88fad344338e8d83;hpb=e6fe4bd989b93b1f37a25771fc14478dd33aa0df;p=u-boot 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; };