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