diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-04-14 16:07:35 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2024-04-26 06:47:04 +0200 |
commit | e4c0277902bc16e7096869733d5e96a7fc60454d (patch) | |
tree | 9da6b60348bde40e9bf156341aedd27bbc9bb43c /lib/netdev-notifier-error-inject.c | |
parent | 24922c1a5cc8731bdb126d35efb71c9b4a2f52e7 (diff) |
mmc: sdhci-s3c: Choose sdhci_ops based on variant
The difference between old S3C64xx and newer Exynos4 SDHCI controller
variants is in clock handling (the "no_divider" field in drvdata).
Choose the proper sdhci_ops based on the variant instead of patching
ops in probe, if Exynos4 is used.
This allows making struct sdhci_ops const for code safety and probably
opens further options in the future, as the dynamic pointer ops table is
not anymore that dynamic.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions