Explorar o código

firewire: core: topology header fix

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Stefan Richter %!s(int64=16) %!d(string=hai) anos
pai
achega
b769bd1765
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      drivers/firewire/fw-topology.h

+ 6 - 0
drivers/firewire/fw-topology.h

@@ -19,6 +19,11 @@
 #ifndef __fw_topology_h
 #define __fw_topology_h
 
+#include <linux/list.h>
+#include <linux/slab.h>
+
+#include <asm/atomic.h>
+
 enum {
 	FW_NODE_CREATED,
 	FW_NODE_UPDATED,
@@ -64,6 +69,7 @@ static inline void fw_node_put(struct fw_node *node)
 		kfree(node);
 }
 
+struct fw_card;
 void fw_destroy_nodes(struct fw_card *card);
 
 int fw_compute_block_crc(u32 *block);