Skip to content

Commit

Permalink
[media] solo6x10: move global fields in solo_dev_fh to solo_dev
Browse files Browse the repository at this point in the history
All fields in solo_dev_fh do not belong there since they refer to global
properties. After moving all these fields to solo_dev the solo_dev_fh
struct can be removed completely.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 25, 2013
1 parent 9416049 commit 6a2e65d
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 137 deletions.
7 changes: 7 additions & 0 deletions drivers/staging/media/solo6x10/solo6x10.h
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,13 @@ struct solo_dev {
void *vh_buf;
dma_addr_t vh_dma;
int vh_size;

/* Buffer handling */
struct videobuf_queue vidq;
struct task_struct *kthread;
spinlock_t slock;
int old_write;
struct list_head vidq_active;
};

static inline u32 solo_reg_read(struct solo_dev *solo_dev, int reg)
Expand Down
Loading

0 comments on commit 6a2e65d

Please sign in to comment.