]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/zfs_common.h
dfu: Fix up the Kconfig mess
[people/ms/u-boot.git] / include / zfs_common.h
index 628231efd3f8786b7830f3f4b5e9c5118e44c999..bca3dff06e1a83e9ada821a8564e18e7d69c8502 100644 (file)
@@ -63,12 +63,9 @@ enum zfs_errors {
 struct zfs_filesystem {
 
        /* Block Device Descriptor */
-       block_dev_desc_t *dev_desc;
+       struct blk_desc *dev_desc;
 };
 
-
-extern block_dev_desc_t *zfs_dev_desc;
-
 struct device_s {
        uint64_t part_length;
 };
@@ -101,7 +98,7 @@ int zfs_close(zfs_file_t);
 int zfs_ls(device_t dev, const char *path,
                   int (*hook) (const char *, const struct zfs_dirhook_info *));
 int zfs_devread(int sector, int byte_offset, int byte_len, char *buf);
-int zfs_set_blk_dev(block_dev_desc_t *rbdd, int part);
+void zfs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info);
 void zfs_unmount(struct zfs_data *data);
 int lzjb_decompress(void *, void *, uint32_t, uint32_t);
 #endif