diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/firewire.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/firewire.h b/include/linux/firewire.h index e979f9b22cb6..a69aea0394e3 100644 --- a/include/linux/firewire.h +++ b/include/linux/firewire.h | |||
@@ -248,6 +248,11 @@ static inline void fw_unit_put(struct fw_unit *unit) | |||
248 | put_device(&unit->device); | 248 | put_device(&unit->device); |
249 | } | 249 | } |
250 | 250 | ||
251 | static inline struct fw_device *fw_parent_device(struct fw_unit *unit) | ||
252 | { | ||
253 | return fw_device(unit->device.parent); | ||
254 | } | ||
255 | |||
251 | struct ieee1394_device_id; | 256 | struct ieee1394_device_id; |
252 | 257 | ||
253 | struct fw_driver { | 258 | struct fw_driver { |