projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f008e
)
net: dsa: mv88e6xxx: Move forward declaration to where it is needed
author
Andrew Lunn
<
[email protected]
>
Wed, 8 Feb 2017 23:00:43 +0000
(
00:00
+0100)
committer
David S. Miller
<
[email protected]
>
Thu, 9 Feb 2017 22:11:41 +0000
(17:11 -0500)
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]
>
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
b/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
index 8a21800374f3c96152f6755dfb08301691bb2fb7..d6b335cd8c09b38757d5dce95c5015d27ca60089 100644
(file)
--- a/
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
+++ b/
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
@@
-662,8
+662,6
@@
enum mv88e6xxx_cap {
MV88E6XXX_FLAGS_PVT | \
MV88E6XXX_FLAGS_SERDES)
-struct mv88e6xxx_ops;
-
#define MV88E6XXX_FLAGS_FAMILY_6390 \
(MV88E6XXX_FLAG_EEE | \
MV88E6XXX_FLAG_GLOBAL2 | \
@@
-673,6
+671,8
@@
struct mv88e6xxx_ops;
MV88E6XXX_FLAGS_MULTI_CHIP | \
MV88E6XXX_FLAGS_PVT)
+struct mv88e6xxx_ops;
+
struct mv88e6xxx_info {
enum mv88e6xxx_family family;
u16 prod_num;