X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fsandboxblockdev.h;h=c1f0afb337d7b118850087fbacf99b36f725aa63;hb=faab193ea2a8992b18026318f36cc7139b4ca1b5;hp=627787aa326280a6afe3eefc88fad344338e8d83;hpb=7f673c99c2d8d1aa21996c5b914f06d784b080ca;p=oweals%2Fu-boot.git diff --git a/include/sandboxblockdev.h b/include/sandboxblockdev.h index 627787aa32..c1f0afb337 100644 --- a/include/sandboxblockdev.h +++ b/include/sandboxblockdev.h @@ -1,14 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2013, Henrik Nordstrom - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __SANDBOX_BLOCK_DEV__ #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; };