aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-topology.h
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-06-17 17:39:58 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-09 18:07:44 -0400
commitdae1a3aa8ebdd30fbba56a8d4e22f92455fb0861 (patch)
tree4c2ce5c4943a41545f30eed31f3498b659056afc /drivers/firewire/fw-topology.h
parentf1397490017e337446c6a8b0562b584679a604a6 (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.h6
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
30struct fw_port {
31 struct fw_node *node;
32};
33
34struct fw_node { 30struct 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
57static inline struct fw_node * 53static inline struct fw_node *