Skip to content

Commit 3434341

Browse files
shemmingerdavem330
authored andcommitted
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 protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 80f0fe0 commit 3434341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/cavium/common/cavium_ptp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include "cavium_ptp.h"
1212

13-
#define DRV_NAME "Cavium PTP Driver"
13+
#define DRV_NAME "cavium_ptp"
1414

1515
#define PCI_DEVICE_ID_CAVIUM_PTP 0xA00C
1616
#define PCI_DEVICE_ID_CAVIUM_RST 0xA00E

0 commit comments

Comments
 (0)