|
@@ -120,21 +120,6 @@ int fw_compute_block_crc(__be32 *block);
|
|
|
void fw_schedule_bus_reset(struct fw_card *card, bool delayed, bool short_reset);
|
|
|
void fw_schedule_bm_work(struct fw_card *card, unsigned long delay);
|
|
|
|
|
|
-static inline struct fw_card *fw_card_get(struct fw_card *card)
|
|
|
-{
|
|
|
- kref_get(&card->kref);
|
|
|
-
|
|
|
- return card;
|
|
|
-}
|
|
|
-
|
|
|
-void fw_card_release(struct kref *kref);
|
|
|
-
|
|
|
-static inline void fw_card_put(struct fw_card *card)
|
|
|
-{
|
|
|
- kref_put(&card->kref, fw_card_release);
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
/* -cdev */
|
|
|
|
|
|
extern const struct file_operations fw_device_ops;
|