]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mmc: sdhci: Make sdhci_ops of host as modifiable
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 1 Feb 2017 19:40:45 +0000 (01:10 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 2 Feb 2017 09:29:30 +0000 (10:29 +0100)
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>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/sdhci.h

index 4dc50eec21012c35c05e21b2bdf4b52681707604..9cbf9fe1f91386ad4a4350deecbdf5e03fbd2eaf 100644 (file)
@@ -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;