From 95688e97cdf7453cde22eaa73cc2ab6b113c1853 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Mon, 22 Jan 2007 19:17:37 +0100 Subject: firewire: cleanups This patch contains the following cleanups: - "extern inline" -> "static inline" - fw-topology.c: make struct fw_node_create static Signed-off-by: Adrian Bunk Signed-off-by: Stefan Richter --- drivers/firewire/fw-topology.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/firewire/fw-topology.h') diff --git a/drivers/firewire/fw-topology.h b/drivers/firewire/fw-topology.h index 32ea7cdb9e1..a78c9516ed0 100644 --- a/drivers/firewire/fw-topology.h +++ b/drivers/firewire/fw-topology.h @@ -57,13 +57,13 @@ struct fw_node { struct fw_port ports[0]; }; -extern inline struct fw_node * +static inline struct fw_node * fw_node(struct list_head *l) { return list_entry (l, struct fw_node, link); } -extern inline struct fw_node * +static inline struct fw_node * fw_node_get(struct fw_node *node) { atomic_inc(&node->ref_count); @@ -71,7 +71,7 @@ fw_node_get(struct fw_node *node) return node; } -extern inline void +static inline void fw_node_put(struct fw_node *node) { if (atomic_dec_and_test(&node->ref_count)) -- cgit v1.2.3