Skip to content

Commit 26522df

Browse files
committed
tgupdate: merge t/upstream base into t/upstream
2 parents 06ae461 + dbd709a commit 26522df

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.mailmap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ Antonio Quartulli <[email protected]> <[email protected]>
8888
8989
9090
91-
9291
9392
9493
Archit Taneja <[email protected]>

drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#include "dwmac_dma.h"
1212
#include "dwmac1000.h"
1313

14+
#define DRIVER_NAME "dwmac-loongson-pci"
15+
1416
/* Normal Loongson Tx Summary */
1517
#define DMA_INTR_ENA_NIE_TX_LOONGSON 0x00040000
1618
/* Normal Loongson Rx Summary */
@@ -567,7 +569,7 @@ static int loongson_dwmac_probe(struct pci_dev *pdev, const struct pci_device_id
567569
for (i = 0; i < PCI_STD_NUM_BARS; i++) {
568570
if (pci_resource_len(pdev, i) == 0)
569571
continue;
570-
ret = pcim_iomap_regions(pdev, BIT(0), pci_name(pdev));
572+
ret = pcim_iomap_regions(pdev, BIT(0), DRIVER_NAME);
571573
if (ret)
572574
goto err_disable_device;
573575
break;
@@ -689,7 +691,7 @@ static const struct pci_device_id loongson_dwmac_id_table[] = {
689691
MODULE_DEVICE_TABLE(pci, loongson_dwmac_id_table);
690692

691693
static struct pci_driver loongson_dwmac_driver = {
692-
.name = "dwmac-loongson-pci",
694+
.name = DRIVER_NAME,
693695
.id_table = loongson_dwmac_id_table,
694696
.probe = loongson_dwmac_probe,
695697
.remove = loongson_dwmac_remove,

0 commit comments

Comments
 (0)