|author||Stephen Hemminger <email@example.com>||2019-08-15 12:49:49 -0700|
|committer||David S. Miller <firstname.lastname@example.org>||2019-08-18 14:02:06 -0700|
|parent||ibmvnic: Unmap DMA address of TX descriptor buffers after use (diff)|
net: cavium: fix driver name
The driver name gets exposed in sysfs under /sys/bus/pci/drivers so it should look like other devices. Change it to be common format (instead of "Cavium PTP"). This is a trivial fix that was observed by accident because Debian kernels were building this driver into kernel (bug). Signed-off-by: Stephen Hemminger <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Diffstat (limited to 'drivers/net/ethernet/cavium')
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cavium/common/cavium_ptp.c b/drivers/net/ethernet/cavium/common/cavium_ptp.c
index 73632b843749..b821c9e1604c 100644
@@ -10,7 +10,7 @@
-#define DRV_NAME "Cavium PTP Driver"
+#define DRV_NAME "cavium_ptp"
#define PCI_DEVICE_ID_CAVIUM_PTP 0xA00C
#define PCI_DEVICE_ID_CAVIUM_RST 0xA00E