]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/mmc.h
Revert "x86: Convert MMC to driver model"
[people/ms/u-boot.git] / include / mmc.h
index 1720955a4c904e8e1a30e4685059cdf2013b671a..00576fa3d0a39aa7e28a1b42cb0438ae26ee572a 100644 (file)
@@ -376,7 +376,7 @@ int mmc_getwp(struct mmc *mmc);
 struct mmc_ops {
        int (*send_cmd)(struct mmc *mmc,
                        struct mmc_cmd *cmd, struct mmc_data *data);
-       void (*set_ios)(struct mmc *mmc);
+       int (*set_ios)(struct mmc *mmc);
        int (*init)(struct mmc *mmc);
        int (*getcd)(struct mmc *mmc);
        int (*getwp)(struct mmc *mmc);
@@ -430,7 +430,7 @@ struct mmc {
        u8 part_support;
        u8 part_attr;
        u8 wr_rel_set;
-       char part_config;
+       u8 part_config;
        uint tran_speed;
        uint read_bl_len;
        uint write_bl_len;