[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <be704175-60c5-415f-93d2-c6aaa2214b40@kernel.org>
Date: Sun, 14 Apr 2024 16:05:35 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Adrian Hunter <adrian.hunter@...el.com>,
Angelo Dureghello <adureghello@...libre.com>,
Ulf Hansson <ulf.hansson@...aro.org>, Vignesh Raghavendra <vigneshr@...com>,
Orson Zhai <orsonzhai@...il.com>, Baolin Wang
<baolin.wang@...ux.alibaba.com>, Chunyan Zhang <zhang.lyra@...il.com>,
Ben Dooks <ben-linux@...ff.org>, Jaehoon Chung <jh80.chung@...sung.com>
Cc: linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/5] mmc: sdhci-s3c: Choose sdhci_ops based on variant
On 14/04/2024 09:15, Krzysztof Kozlowski wrote:
>
> -static struct sdhci_ops sdhci_s3c_ops = {
> +static const struct sdhci_ops sdhci_s3c_ops_s3c6410 = {
> .get_max_clock = sdhci_s3c_get_max_clk,
> .set_clock = sdhci_s3c_set_clock,
> .get_min_clock = sdhci_s3c_get_min_clock,
> @@ -421,6 +423,15 @@ static struct sdhci_ops sdhci_s3c_ops = {
> .set_uhs_signaling = sdhci_set_uhs_signaling,
> };
>
> +static const struct sdhci_ops sdhci_s3c_ops_exynos4 = {
> + .get_max_clock = sdhci_cmu_get_max_clock,
> + .set_clock = sdhci_cmu_set_clock,
> + .get_min_clock = sdhci_cmu_get_min_clock,
> + .set_bus_width = sdhci_set_bus_width,
> + .reset = sdhci_reset,
> + .set_uhs_signaling = sdhci_set_uhs_signaling,
> +};
> +
> #ifdef CONFIG_OF
LKP reported now unused sdhci_s3c_ops_exynos4 for !CONFIG_OF. I will
send v2 (today, due to travel)
Best regards,
Krzysztof
Powered by blists - more mailing lists