aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/dv1394.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ieee1394/dv1394.c')
-rw-r--r--drivers/ieee1394/dv1394.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/dv1394.c b/drivers/ieee1394/dv1394.c
index f8fcbd048447..c5a031b79d03 100644
--- a/drivers/ieee1394/dv1394.c
+++ b/drivers/ieee1394/dv1394.c
@@ -172,7 +172,7 @@ static DEFINE_SPINLOCK(dv1394_cards_lock);
172 172
173static inline struct video_card* file_to_video_card(struct file *file) 173static inline struct video_card* file_to_video_card(struct file *file)
174{ 174{
175 return (struct video_card*) file->private_data; 175 return file->private_data;
176} 176}
177 177
178/*** FRAME METHODS *********************************************************/ 178/*** FRAME METHODS *********************************************************/
@@ -1783,7 +1783,7 @@ static int dv1394_open(struct inode *inode, struct file *file)
1783 struct video_card *video = NULL; 1783 struct video_card *video = NULL;
1784 1784
1785 if (file->private_data) { 1785 if (file->private_data) {
1786 video = (struct video_card*) file->private_data; 1786 video = file->private_data;
1787 1787
1788 } else { 1788 } else {
1789 /* look up the card by ID */ 1789 /* look up the card by ID */