summaryrefslogtreecommitdiff
path: root/drivers/net/armada100_fec.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/armada100_fec.c')
-rw-r--r--drivers/net/armada100_fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/armada100_fec.c b/drivers/net/armada100_fec.c
index 1a54362..52be3a7 100644
--- a/drivers/net/armada100_fec.c
+++ b/drivers/net/armada100_fec.c
@@ -715,7 +715,7 @@ int armada100_fec_register(unsigned long base_addr)
/* Assign ARMADA100 Fast Ethernet Controller Base Address */
darmdfec->regs = (void *)base_addr;
- /* must be less than NAMESIZE (16) */
+ /* must be less than sizeof(dev->name) */
strcpy(dev->name, "armd-fec0");
dev->init = armdfec_init;