From: Siva Durga Prasad Paladugu Date: Wed, 1 Feb 2017 19:40:45 +0000 (+0530) Subject: mmc: sdhci: Make sdhci_ops of host as modifiable X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c3fb31fdd2fd5a043e2deba40908798ad8e6258;p=thirdparty%2Fu-boot.git mmc: sdhci: Make sdhci_ops of host as modifiable Make sdhci_ops of host modifiable as ops may contain platform specific funtion pointers which may need to be defined for some platforms(example: platform specific tuning and delays) Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- diff --git a/include/sdhci.h b/include/sdhci.h index 4dc50eec210..9cbf9fe1f91 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -260,7 +260,7 @@ struct sdhci_host { unsigned int clk_mul; /* Clock Multiplier value */ unsigned int clock; struct mmc *mmc; - const struct sdhci_ops *ops; + struct sdhci_ops *ops; int index; int bus_width;