|
@@ -134,20 +134,6 @@ struct fw_card {
|
|
|
u32 topology_map[(CSR_TOPOLOGY_MAP_END - CSR_TOPOLOGY_MAP) / 4];
|
|
|
};
|
|
|
|
|
|
-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);
|
|
|
-}
|
|
|
-
|
|
|
struct fw_attribute_group {
|
|
|
struct attribute_group *groups[2];
|
|
|
struct attribute_group group;
|