aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-topology.h')
-rw-r--r--drivers/firewire/fw-topology.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/firewire/fw-topology.h b/drivers/firewire/fw-topology.h
index a78c9516ed0f..4311d9f890d3 100644
--- a/drivers/firewire/fw-topology.h
+++ b/drivers/firewire/fw-topology.h
@@ -37,7 +37,7 @@ struct fw_port {
37 37
38struct fw_node { 38struct fw_node {
39 u16 node_id; 39 u16 node_id;
40 u8 color; 40 u8 color;
41 u8 port_count; 41 u8 port_count;
42 unsigned link_on : 1; 42 unsigned link_on : 1;
43 unsigned initiated_reset : 1; 43 unsigned initiated_reset : 1;
@@ -48,19 +48,19 @@ struct fw_node {
48 48
49 atomic_t ref_count; 49 atomic_t ref_count;
50 50
51 /* For serializing node topology into a list. */ 51 /* For serializing node topology into a list. */
52 struct list_head link; 52 struct list_head link;
53 53
54 /* Upper layer specific data. */ 54 /* Upper layer specific data. */
55 void *data; 55 void *data;
56 56
57 struct fw_port ports[0]; 57 struct fw_port ports[0];
58}; 58};
59 59
60static inline struct fw_node * 60static inline struct fw_node *
61fw_node(struct list_head *l) 61fw_node(struct list_head *l)
62{ 62{
63 return list_entry (l, struct fw_node, link); 63 return list_entry (l, struct fw_node, link);
64} 64}
65 65
66static inline struct fw_node * 66static inline struct fw_node *