diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2023-06-30 09:45:33 +0900 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-07-14 11:28:55 +0200 |
commit | 5def5c1c15bf22934ee227af85c1716762f3829f (patch) | |
tree | 8e5ce4394d98239222829c8fa0b83cea4596fef6 /scripts/clang-tools/gen_compile_commands.py | |
parent | d44263222134b5635932974c6177a5cba65a07e8 (diff) |
mmc: sdhci-f-sdh30: Replace with sdhci_pltfm
Even if sdhci_pltfm_pmops is specified for PM, this driver doesn't apply
sdhci_pltfm, so the structure is not correctly referenced in PM functions.
This applies sdhci_pltfm to this driver to fix this issue.
- Call sdhci_pltfm_init() instead of sdhci_alloc_host() and
other functions that covered by sdhci_pltfm.
- Move ops and quirks to sdhci_pltfm_data
- Replace sdhci_priv() with own private function sdhci_f_sdh30_priv().
Fixes: 87a507459f49 ("mmc: sdhci: host: add new f_sdh30")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230630004533.26644-1-hayashi.kunihiko@socionext.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions