Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206842
b: refs/heads/master
c: 80792d1
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Stefan Richter committed Jul 13, 2010
1 parent cdcbf43 commit 9b870c0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02d37bed188c500ee7afb0a2dc6b65a80704c58e
refs/heads/master: 80792d182e43bee89fce509e64fdea27e600530f
4 changes: 2 additions & 2 deletions trunk/drivers/ieee1394/dv1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static DEFINE_SPINLOCK(dv1394_cards_lock);

static inline struct video_card* file_to_video_card(struct file *file)
{
return (struct video_card*) file->private_data;
return file->private_data;
}

/*** FRAME METHODS *********************************************************/
Expand Down Expand Up @@ -1783,7 +1783,7 @@ static int dv1394_open(struct inode *inode, struct file *file)
struct video_card *video = NULL;

if (file->private_data) {
video = (struct video_card*) file->private_data;
video = file->private_data;

} else {
/* look up the card by ID */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/ieee1394/raw1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ static struct pending_request *next_complete_req(struct file_info *fi)
static ssize_t raw1394_read(struct file *file, char __user * buffer,
size_t count, loff_t * offset_is_ignored)
{
struct file_info *fi = (struct file_info *)file->private_data;
struct file_info *fi = file->private_data;
struct pending_request *req;
ssize_t ret;

Expand Down Expand Up @@ -2244,7 +2244,7 @@ static int state_connected(struct file_info *fi, struct pending_request *req)
static ssize_t raw1394_write(struct file *file, const char __user * buffer,
size_t count, loff_t * offset_is_ignored)
{
struct file_info *fi = (struct file_info *)file->private_data;
struct file_info *fi = file->private_data;
struct pending_request *req;
ssize_t retval = -EBADFD;

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/ieee1394/video1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ static inline unsigned video1394_buffer_state(struct dma_iso_ctx *d,
static long video1394_ioctl(struct file *file,
unsigned int cmd, unsigned long arg)
{
struct file_ctx *ctx = (struct file_ctx *)file->private_data;
struct file_ctx *ctx = file->private_data;
struct ti_ohci *ohci = ctx->ohci;
unsigned long flags;
void __user *argp = (void __user *)arg;
Expand Down Expand Up @@ -1172,7 +1172,7 @@ static long video1394_ioctl(struct file *file,

static int video1394_mmap(struct file *file, struct vm_area_struct *vma)
{
struct file_ctx *ctx = (struct file_ctx *)file->private_data;
struct file_ctx *ctx = file->private_data;

if (ctx->current_ctx == NULL) {
PRINT(KERN_ERR, ctx->ohci->host->id,
Expand Down Expand Up @@ -1239,7 +1239,7 @@ static int video1394_open(struct inode *inode, struct file *file)

static int video1394_release(struct inode *inode, struct file *file)
{
struct file_ctx *ctx = (struct file_ctx *)file->private_data;
struct file_ctx *ctx = file->private_data;
struct ti_ohci *ohci = ctx->ohci;
struct list_head *lh, *next;
u64 mask;
Expand Down

0 comments on commit 9b870c0

Please sign in to comment.