]> Git Repo - J-u-boot.git/blobdiff - include/dwmmc.h
Merge tag 'u-boot-atmel-2021.10-a' of https://source.denx.de/u-boot/custodians/u...
[J-u-boot.git] / include / dwmmc.h
index d8a8355a0adaf4fa6606ca4864f109c84d4e2c74..5fc8ed8395f5b9cf0b2f579299b93915aede72a5 100644 (file)
@@ -174,7 +174,7 @@ struct dwmci_host {
        struct mmc *mmc;
        void *priv;
 
-       void (*clksel)(struct dwmci_host *host);
+       int (*clksel)(struct dwmci_host *host);
        void (*board_init)(struct dwmci_host *host);
 
        /**
@@ -256,10 +256,10 @@ static inline u8 dwmci_readb(struct dwmci_host *host, int reg)
  * ...
  *
  * Inside U_BOOT_DRIVER():
- *     .platdata_auto_alloc_size = sizeof(struct rockchip_mmc_plat),
+ *     .plat_auto      = sizeof(struct rockchip_mmc_plat),
  *
  * To access platform data:
- *     struct rockchip_mmc_plat *plat = dev_get_platdata(dev);
+ *     struct rockchip_mmc_plat *plat = dev_get_plat(dev);
  *
  * See rockchip_dw_mmc.c for an example.
  *
This page took 0.021576 seconds and 4 git commands to generate.