diff options
Diffstat (limited to 'drivers/firewire/fw-topology.h')
-rw-r--r-- | drivers/firewire/fw-topology.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/firewire/fw-topology.h b/drivers/firewire/fw-topology.h index da61ec09183e..1b56b4ac7fb2 100644 --- a/drivers/firewire/fw-topology.h +++ b/drivers/firewire/fw-topology.h | |||
@@ -27,10 +27,6 @@ enum { | |||
27 | FW_NODE_LINK_OFF = 0x04, | 27 | FW_NODE_LINK_OFF = 0x04, |
28 | }; | 28 | }; |
29 | 29 | ||
30 | struct fw_port { | ||
31 | struct fw_node *node; | ||
32 | }; | ||
33 | |||
34 | struct fw_node { | 30 | struct fw_node { |
35 | u16 node_id; | 31 | u16 node_id; |
36 | u8 color; | 32 | u8 color; |
@@ -51,7 +47,7 @@ struct fw_node { | |||
51 | /* Upper layer specific data. */ | 47 | /* Upper layer specific data. */ |
52 | void *data; | 48 | void *data; |
53 | 49 | ||
54 | struct fw_port ports[0]; | 50 | struct fw_node *ports[0]; |
55 | }; | 51 | }; |
56 | 52 | ||
57 | static inline struct fw_node * | 53 | static inline struct fw_node * |