Re: [PATCH 5/5] mmc: sdhci-s3c: Choose sdhci_ops based on variant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux