summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-topology.h
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-06-17 23:39:58 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-10 00:07:44 +0200
commitdae1a3aa8ebdd30fbba56a8d4e22f92455fb0861 (patch)
tree4c2ce5c4943a41545f30eed31f3498b659056afc /drivers/firewire/fw-topology.h
parentf1397490017e337446c6a8b0562b584679a604a6 (diff)
downloadlinux-stable-dae1a3aa8ebdd30fbba56a8d4e22f92455fb0861.tar.gz
linux-stable-dae1a3aa8ebdd30fbba56a8d4e22f92455fb0861.tar.bz2
linux-stable-dae1a3aa8ebdd30fbba56a8d4e22f92455fb0861.zip
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 {
FW_NODE_LINK_OFF = 0x04,
};
-struct fw_port {
- struct fw_node *node;
-};
-
struct fw_node {
u16 node_id;
u8 color;
@@ -51,7 +47,7 @@ struct fw_node {
/* Upper layer specific data. */
void *data;
- struct fw_port ports[0];
+ struct fw_node *ports[0];
};
static inline struct fw_node *