mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
zfs: fix missing include for disk_partition definition
Commit 0528979fa7
("part: Drop disk_partition_t typedef") changed to
a struct. As a result it uncovered an apparent missing include in
zfs_common.h for part.h which actually contains the definition. The ZFS
handles the struct exclusively as pointers so it was only a warning.
warning: ‘struct disk_partition’ declared inside parameter list
will not be visible outside of this definition or declaration
void zfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
Signed-off-by: Joel Johnson <mrjoel@lixil.net>
Series-CC: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4ff63383e3
commit
d622c24058
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
|||
#ifndef __ZFS_COMMON__
|
||||
#define __ZFS_COMMON__
|
||||
|
||||
#include <part.h>
|
||||
|
||||
#define SECTOR_SIZE 0x200
|
||||
#define SECTOR_BITS 9
|
||||
|
||||
|
|
Loading…
Reference in a new issue