diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-06-17 17:39:58 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-07-09 18:07:44 -0400 |
commit | dae1a3aa8ebdd30fbba56a8d4e22f92455fb0861 (patch) | |
tree | 4c2ce5c4943a41545f30eed31f3498b659056afc /drivers/firewire/fw-topology.h | |
parent | f1397490017e337446c6a8b0562b584679a604a6 (diff) |
firewire: simplify a struct type
cleanup after "firewire: support S100B...S400B and link slower than PHY"
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
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 * |