]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/phy.h
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
[mv-sheeva.git] / include / linux / phy.h
index c216e4e503b3a61979c48c5f1eb0f14ce3e5dcb6..b1368b8f6572c80c2185a2512a7e9576594796d5 100644 (file)
@@ -79,7 +79,7 @@ typedef enum {
  * Need to be a little smaller than phydev->dev.bus_id to leave room
  * for the ":%02x"
  */
-#define MII_BUS_ID_SIZE        (BUS_ID_SIZE - 3)
+#define MII_BUS_ID_SIZE        (20 - 3)
 
 /*
  * The Bus class for PHYs.  Devices which provide access to
@@ -407,7 +407,7 @@ struct phy_driver {
 /* A Structure for boards to register fixups with the PHY Lib */
 struct phy_fixup {
        struct list_head list;
-       char bus_id[BUS_ID_SIZE];
+       char bus_id[20];
        u32 phy_uid;
        u32 phy_uid_mask;
        int (*run)(struct phy_device *phydev);