]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ieee1394/ieee1394_core.h
MODULES: add the module name for built in kernel drivers
[linux-2.6-omap-h63xx.git] / drivers / ieee1394 / ieee1394_core.h
index af4a78a8ef3b124f61e9a9b667cc8b9f5383ee7f..536ba3f580fd49995fc812353167d8cc65307570 100644 (file)
@@ -217,7 +217,7 @@ void hpsb_packet_received(struct hpsb_host *host, quadlet_t *data, size_t size,
 /* return the index (within a minor number block) of a file */
 static inline unsigned char ieee1394_file_to_instance(struct file *file)
 {
-       return file->f_dentry->d_inode->i_cindex;
+       return file->f_path.dentry->d_inode->i_cindex;
 }
 
 extern int hpsb_disable_irm;