Commit c0e4dadb authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

net: dsa: mv88e6xxx: Move forward declaration to where it is needed

Move it out from the middle for the #defines to just before it is
needed.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarVivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 50f008e5
...@@ -662,8 +662,6 @@ enum mv88e6xxx_cap { ...@@ -662,8 +662,6 @@ enum mv88e6xxx_cap {
MV88E6XXX_FLAGS_PVT | \ MV88E6XXX_FLAGS_PVT | \
MV88E6XXX_FLAGS_SERDES) MV88E6XXX_FLAGS_SERDES)
struct mv88e6xxx_ops;
#define MV88E6XXX_FLAGS_FAMILY_6390 \ #define MV88E6XXX_FLAGS_FAMILY_6390 \
(MV88E6XXX_FLAG_EEE | \ (MV88E6XXX_FLAG_EEE | \
MV88E6XXX_FLAG_GLOBAL2 | \ MV88E6XXX_FLAG_GLOBAL2 | \
...@@ -673,6 +671,8 @@ struct mv88e6xxx_ops; ...@@ -673,6 +671,8 @@ struct mv88e6xxx_ops;
MV88E6XXX_FLAGS_MULTI_CHIP | \ MV88E6XXX_FLAGS_MULTI_CHIP | \
MV88E6XXX_FLAGS_PVT) MV88E6XXX_FLAGS_PVT)
struct mv88e6xxx_ops;
struct mv88e6xxx_info { struct mv88e6xxx_info {
enum mv88e6xxx_family family; enum mv88e6xxx_family family;
u16 prod_num; u16 prod_num;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment