aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 05:37:10 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:46 -0500
commit4db61081fac72623eb638f918819046361ff1508 (patch)
treeeb5b981090f1cf7b16a55274f2305f4e074e7712 /drivers
parentb66ffad90429a2ed84c6e8954d205539f6cc86a9 (diff)
[PATCH] struct path: convert ieee1394
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ieee1394/ieee1394_core.h2
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 */
218static inline unsigned char ieee1394_file_to_instance(struct file *file) 218static 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
223extern int hpsb_disable_irm; 223extern int hpsb_disable_irm;