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