diff mbox

[U-Boot,v2,06/15] mmc: sdhci: Make sdhci_ops of host as modifiable

Message ID 1485772712-4653-7-git-send-email-sivadur@xilinx.com
State Changes Requested
Delegated to: Jaehoon Chung
Headers show

Commit Message

Siva Durga Prasad Paladugu Jan. 30, 2017, 10:38 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>
---
Changes from v1:
- None
---
 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 a0449d9..2317eac 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -264,7 +264,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;