diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ieee1394/ieee1394_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/ieee1394_core.h b/drivers/ieee1394/ieee1394_core.h index af4a78a8ef3b..536ba3f580fd 100644 --- a/drivers/ieee1394/ieee1394_core.h +++ b/drivers/ieee1394/ieee1394_core.h | |||
@@ -217,7 +217,7 @@ void hpsb_packet_received(struct hpsb_host *host, quadlet_t *data, size_t size, | |||
217 | /* return the index (within a minor number block) of a file */ | 217 | /* return the index (within a minor number block) of a file */ |
218 | static inline unsigned char ieee1394_file_to_instance(struct file *file) | 218 | static inline unsigned char ieee1394_file_to_instance(struct file *file) |
219 | { | 219 | { |
220 | return file->f_dentry->d_inode->i_cindex; | 220 | return file->f_path.dentry->d_inode->i_cindex; |
221 | } | 221 | } |
222 | 222 | ||
223 | extern int hpsb_disable_irm; | 223 | extern int hpsb_disable_irm; |