Skip to content

Commit c0e4dad

Browse files
lunndavem330
authored andcommitted
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 <[email protected]> Reviewed-by: Vivien Didelot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 50f008e commit c0e4dad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/dsa/mv88e6xxx/mv88e6xxx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,8 +662,6 @@ enum mv88e6xxx_cap {
662662
MV88E6XXX_FLAGS_PVT | \
663663
MV88E6XXX_FLAGS_SERDES)
664664

665-
struct mv88e6xxx_ops;
666-
667665
#define MV88E6XXX_FLAGS_FAMILY_6390 \
668666
(MV88E6XXX_FLAG_EEE | \
669667
MV88E6XXX_FLAG_GLOBAL2 | \
@@ -673,6 +671,8 @@ struct mv88e6xxx_ops;
673671
MV88E6XXX_FLAGS_MULTI_CHIP | \
674672
MV88E6XXX_FLAGS_PVT)
675673

674+
struct mv88e6xxx_ops;
675+
676676
struct mv88e6xxx_info {
677677
enum mv88e6xxx_family family;
678678
u16 prod_num;

0 commit comments

Comments
 (0)