aboutsummaryrefslogtreecommitdiff
path: root/include/sandboxblockdev.h
diff options
context:
space:
mode:
authorAKASHI Takahiro2022-04-19 10:01:55 +0900
committerHeinrich Schuchardt2022-04-23 22:05:33 +0200
commitc73a0709e4a7d12107ce957105f694fdd6b7f8b6 (patch)
treeb4fb4f1f5eb4ef7ae37c1f9e0b1f808803a9dd0c /include/sandboxblockdev.h
parent2a0d1881ac10a447cc7743c79385f744eb494718 (diff)
sandbox: move a function prototype
Since host_get_dev_errr() is defined in drivers/block/sandbox.c, the associated function prototype should be in a more appropriate header file. Fixes: commit 4101f6879256 ("dm: Drop the block_dev_desc_t typedef") Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'include/sandboxblockdev.h')
-rw-r--r--include/sandboxblockdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sandboxblockdev.h b/include/sandboxblockdev.h
index 4ca9554e38a..dc983f0417b 100644
--- a/include/sandboxblockdev.h
+++ b/include/sandboxblockdev.h
@@ -26,4 +26,6 @@ struct host_block_dev {
*/
int host_dev_bind(int dev, char *filename, bool removable);
+int host_get_dev_err(int dev, struct blk_desc **blk_devp);
+
#endif