path: root/board/Marvell/db64360
diff options
authorMike Frysinger <>2011-11-10 14:11:04 +0000
committerWolfgang Denk <>2012-03-18 20:11:22 +0100
commitf6add132f6d7f45eb7d4b3839513c38bfb28eb08 (patch)
tree02da84cb248aaab568c2283a2bbecd9ee91a098b /board/Marvell/db64360
parent2b224609568988a7d8db22d372b232a69155733f (diff)
net/miiphy/serial: drop duplicate "NAMESIZE" define
A few subsystems are using the same define "NAMESIZE". This has been working so far because they define it to the same number. However, I want to change the size of eth_device's NAMESIZE, so rather than tweak the define names, simply drop references to it. Almost no one does, and the handful that do can easily be changed to a sizeof(). Signed-off-by: Mike Frysinger <>
Diffstat (limited to 'board/Marvell/db64360')
1 files changed, 1 insertions, 1 deletions
diff --git a/board/Marvell/db64360/mv_eth.c b/board/Marvell/db64360/mv_eth.c
index 6340585e85..e89ea43d7b 100644
--- a/board/Marvell/db64360/mv_eth.c
+++ b/board/Marvell/db64360/mv_eth.c
@@ -221,7 +221,7 @@ void mv6436x_eth_initialize (bd_t * bis)
- /* must be less than NAMESIZE (16) */
+ /* must be less than sizeof(dev->name) */
sprintf (dev->name, "mv_enet%d", devnum);
#ifdef DEBUG
OpenPOWER on IntegriCloud