diff mbox

[U-Boot,05/12] mmc: sdhci: Make sdhci_ops of host as modifiable

Message ID 1484730271-21944-6-git-send-email-sivadur@xilinx.com
State Changes Requested
Delegated to: Jaehoon Chung
Headers show

Commit Message

Siva Durga Prasad Paladugu Jan. 18, 2017, 9:04 a.m. UTC
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 <sivadur@xilinx.com>
---
 include/sdhci.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/sdhci.h b/include/sdhci.h
index 54c2ea2..c00beb8 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -262,7 +262,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;