mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-14 02:27:44 +00:00
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: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
50f008e583
commit
c0e4dadb34
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue