|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
|
|
*
|
|
@@ -447,6 +447,12 @@ static struct pci_device_id pld_pcie_id_table[] = {
|
|
|
{ 0 }
|
|
|
};
|
|
|
|
|
|
+#ifdef MULTI_IF_NAME
|
|
|
+#define PLD_PCIE_OPS_NAME "pld_pcie_" MULTI_IF_NAME
|
|
|
+#else
|
|
|
+#define PLD_PCIE_OPS_NAME "pld_pcie"
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef CONFIG_PLD_PCIE_CNSS
|
|
|
#ifdef FEATURE_RUNTIME_PM
|
|
|
struct cnss_wlan_runtime_ops runtime_pm_ops = {
|
|
@@ -456,7 +462,7 @@ struct cnss_wlan_runtime_ops runtime_pm_ops = {
|
|
|
#endif
|
|
|
|
|
|
struct cnss_wlan_driver pld_pcie_ops = {
|
|
|
- .name = "pld_pcie",
|
|
|
+ .name = PLD_PCIE_OPS_NAME,
|
|
|
.id_table = pld_pcie_id_table,
|
|
|
.probe = pld_pcie_probe,
|
|
|
.remove = pld_pcie_remove,
|
|
@@ -505,7 +511,7 @@ static const struct dev_pm_ops pld_pm_ops = {
|
|
|
#endif
|
|
|
|
|
|
struct pci_driver pld_pcie_ops = {
|
|
|
- .name = "pld_pcie",
|
|
|
+ .name = PLD_PCIE_OPS_NAME,
|
|
|
.id_table = pld_pcie_id_table,
|
|
|
.probe = pld_pcie_probe,
|
|
|
.remove = pld_pcie_remove,
|