X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fmmc%2Fmv_sdhci.c;h=2fe34b6993b8a8a006da4d0ae5704e1d1e0f66a7;hb=48972d907a28de17c2a5108a3ee3d5f3eb434376;hp=1501974e2f575eb2784dec176335e4b84db2c2bc;hpb=1086c5d6f8541460f0f10e4a302d8aac27e0e6e0;p=oweals%2Fu-boot.git diff --git a/drivers/mmc/mv_sdhci.c b/drivers/mmc/mv_sdhci.c index 1501974e2f..2fe34b6993 100644 --- a/drivers/mmc/mv_sdhci.c +++ b/drivers/mmc/mv_sdhci.c @@ -44,8 +44,7 @@ int mv_sdh_init(u32 regbase, u32 max_clk, u32 min_clk, u32 quirks) host->quirks = quirks; #ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS memset(&mv_ops, 0, sizeof(struct sdhci_ops)); - if (mv_sdhci_writeb != NULL) - mv_ops.write_b = mv_sdhci_writeb; + mv_ops.write_b = mv_sdhci_writeb; host->ops = &mv_ops; #endif if (quirks & SDHCI_QUIRK_REG32_RW)