aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/core.h')
-rw-r--r--drivers/firewire/core.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/firewire/core.h b/drivers/firewire/core.h
index 9047f5547d98..b5a2f6197053 100644
--- a/drivers/firewire/core.h
+++ b/drivers/firewire/core.h
@@ -120,21 +120,6 @@ int fw_compute_block_crc(__be32 *block);
120void fw_schedule_bus_reset(struct fw_card *card, bool delayed, bool short_reset); 120void fw_schedule_bus_reset(struct fw_card *card, bool delayed, bool short_reset);
121void fw_schedule_bm_work(struct fw_card *card, unsigned long delay); 121void fw_schedule_bm_work(struct fw_card *card, unsigned long delay);
122 122
123static inline struct fw_card *fw_card_get(struct fw_card *card)
124{
125 kref_get(&card->kref);
126
127 return card;
128}
129
130void fw_card_release(struct kref *kref);
131
132static inline void fw_card_put(struct fw_card *card)
133{
134 kref_put(&card->kref, fw_card_release);
135}
136
137
138/* -cdev */ 123/* -cdev */
139 124
140extern const struct file_operations fw_device_ops; 125extern const struct file_operations fw_device_ops;