提交 19ee441f 编写于 作者: M Manish Narani 提交者: Ulf Hansson

mmc: sdhci-of-arasan: Rename sdhci_arasan_data to avoid confusion

There is 'struct sdhci_arasan_data' but also
'struct sdhci_arasan_of_data sdhci_arasan_data'. Rename the latter to
avoid confusion with the name of the struct.
Reported-by: NAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: NManish Narani <manish.narani@xilinx.com>
Link: https://lore.kernel.org/r/1586195015-128992-4-git-send-email-manish.narani@xilinx.comSigned-off-by: NUlf Hansson <ulf.hansson@linaro.org>
上级 1a470721
...@@ -354,7 +354,7 @@ static const struct sdhci_pltfm_data sdhci_arasan_pdata = { ...@@ -354,7 +354,7 @@ static const struct sdhci_pltfm_data sdhci_arasan_pdata = {
SDHCI_QUIRK2_STOP_WITH_TC, SDHCI_QUIRK2_STOP_WITH_TC,
}; };
static struct sdhci_arasan_of_data sdhci_arasan_data = { static struct sdhci_arasan_of_data sdhci_arasan_generic_data = {
.pdata = &sdhci_arasan_pdata, .pdata = &sdhci_arasan_pdata,
}; };
...@@ -552,15 +552,15 @@ static const struct of_device_id sdhci_arasan_of_match[] = { ...@@ -552,15 +552,15 @@ static const struct of_device_id sdhci_arasan_of_match[] = {
/* Generic compatible below here */ /* Generic compatible below here */
{ {
.compatible = "arasan,sdhci-8.9a", .compatible = "arasan,sdhci-8.9a",
.data = &sdhci_arasan_data, .data = &sdhci_arasan_generic_data,
}, },
{ {
.compatible = "arasan,sdhci-5.1", .compatible = "arasan,sdhci-5.1",
.data = &sdhci_arasan_data, .data = &sdhci_arasan_generic_data,
}, },
{ {
.compatible = "arasan,sdhci-4.9a", .compatible = "arasan,sdhci-4.9a",
.data = &sdhci_arasan_data, .data = &sdhci_arasan_generic_data,
}, },
{ {
.compatible = "xlnx,zynqmp-8.9a", .compatible = "xlnx,zynqmp-8.9a",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册