mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
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 4101f68792
("dm: Drop the block_dev_desc_t typedef")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
This commit is contained in:
parent
2a0d1881ac
commit
c73a0709e4
2 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,6 @@ struct disk_part {
|
||||||
struct blk_desc *blk_get_dev(const char *ifname, int dev);
|
struct blk_desc *blk_get_dev(const char *ifname, int dev);
|
||||||
|
|
||||||
struct blk_desc *mg_disk_get_dev(int dev);
|
struct blk_desc *mg_disk_get_dev(int dev);
|
||||||
int host_get_dev_err(int dev, struct blk_desc **blk_devp);
|
|
||||||
|
|
||||||
/* disk/part.c */
|
/* disk/part.c */
|
||||||
int part_get_info(struct blk_desc *dev_desc, int part,
|
int part_get_info(struct blk_desc *dev_desc, int part,
|
||||||
|
|
|
@ -26,4 +26,6 @@ struct host_block_dev {
|
||||||
*/
|
*/
|
||||||
int host_dev_bind(int dev, char *filename, bool removable);
|
int host_dev_bind(int dev, char *filename, bool removable);
|
||||||
|
|
||||||
|
int host_get_dev_err(int dev, struct blk_desc **blk_devp);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue