diff options
author | Simon Glass <sjg@chromium.org> | 2021-11-24 09:26:40 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-12-05 09:23:15 -0700 |
commit | 32c8566f138d4685c60c83fa89cf4bb0b7b00e79 (patch) | |
tree | 656b3ce23f7595748d3f96ecd297cee91351f569 /include/sandboxblockdev.h | |
parent | 89050244c40e79fc24b24ee84e4e668a6dfc336d (diff) |
sandbox: Drop CONFIG_HOST_MAX_DEVICES
This can go in the related header file. Drop the CONFIG option.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/sandboxblockdev.h')
-rw-r--r-- | include/sandboxblockdev.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sandboxblockdev.h b/include/sandboxblockdev.h index 4006e942a0..4ca9554e38 100644 --- a/include/sandboxblockdev.h +++ b/include/sandboxblockdev.h @@ -6,6 +6,9 @@ #ifndef __SANDBOX_BLOCK_DEV__ #define __SANDBOX_BLOCK_DEV__ +/* Maximum number of host devices - see drivers/block/sandbox.c */ +#define SANDBOX_HOST_MAX_DEVICES 4 + struct host_block_dev { #ifndef CONFIG_BLK struct blk_desc blk_dev; |