diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-10 14:11:04 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-18 19:11:22 (GMT) |
commit | f6add132f6d7f45eb7d4b3839513c38bfb28eb08 (patch) | |
tree | 02da84cb248aaab568c2283a2bbecd9ee91a098b /include/miiphy.h | |
parent | 2b224609568988a7d8db22d372b232a69155733f (diff) | |
download | u-boot-fsl-qoriq-f6add132f6d7f45eb7d4b3839513c38bfb28eb08.tar.xz |
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 <vapier@gentoo.org>
Diffstat (limited to 'include/miiphy.h')
-rw-r--r-- | include/miiphy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/miiphy.h b/include/miiphy.h index 7e70cf8..ca5040e 100644 --- a/include/miiphy.h +++ b/include/miiphy.h @@ -86,7 +86,7 @@ void mdio_list_devices(void); #define BB_MII_DEVNAME "bb_miiphy" struct bb_miiphy_bus { - char name[NAMESIZE]; + char name[16]; int (*init)(struct bb_miiphy_bus *bus); int (*mdio_active)(struct bb_miiphy_bus *bus); int (*mdio_tristate)(struct bb_miiphy_bus *bus); |