diff options
author | Yanteng Si <[email protected]> | 2024-08-07 21:47:09 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-08-13 09:48:00 +0200 |
commit | 324d96b46520f1476f25deaad0e49d8df71377c1 (patch) | |
tree | 5314bf5382abd72e3cf39fb564004652013da71c /tools/perf/scripts/python/sched-migration.py | |
parent | 0c979e6b55f99f939bb8158f3d8f8d2072b04e9c (diff) |
net: stmmac: dwmac-loongson: Use PCI_DEVICE_DATA() macro for device identification
For the readability sake convert the hard-coded Loongson GMAC PCI ID to
the respective macro and use the PCI_DEVICE_DATA() macro-function to
create the pci_device_id array entry. The later change will be
specifically useful in order to assign the device-specific data for the
currently supported device and for about to be added Loongson GNET
controller.
Signed-off-by: Feiyang Chen <[email protected]>
Signed-off-by: Yinggang Gu <[email protected]>
Reviewed-by: Serge Semin <[email protected]>
Acked-by: Huacai Chen <[email protected]>
Signed-off-by: Yanteng Si <[email protected]>
Tested-by: Serge Semin <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions