Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192939
b: refs/heads/master
c: 6eb9435
h: refs/heads/master
i:
  192937: 19729a1
  192935: c64846b
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed May 19, 2010
1 parent 1d1e625 commit 525795a
Show file tree
Hide file tree
Showing 5 changed files with 5 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: c373cabfbbb7631526003f17d470c0d1e5915a4c
refs/heads/master: 6eb9435b874ae5ff56d56952167a8e9be5c5deeb
2 changes: 1 addition & 1 deletion trunk/drivers/media/IR/ir-nec-decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

/* Used to register nec_decoder clients */
static LIST_HEAD(decoder_list);
static spinlock_t decoder_lock;
static DEFINE_SPINLOCK(decoder_lock);

enum nec_state {
STATE_INACTIVE,
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/media/IR/ir-raw-event.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/* Used to handle IR raw handler extensions */
static LIST_HEAD(ir_raw_handler_list);
static spinlock_t ir_raw_handler_lock;
static DEFINE_SPINLOCK(ir_raw_handler_lock);

/**
* RUN_DECODER() - runs an operation on all IR decoders
Expand Down Expand Up @@ -205,8 +205,6 @@ static void init_decoders(struct work_struct *work)

void ir_raw_init(void)
{
spin_lock_init(&ir_raw_handler_lock);

#ifdef MODULE
INIT_WORK(&wq_load, init_decoders);
schedule_work(&wq_load);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/IR/ir-rc5-decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static unsigned int ir_rc5_remote_gap = 888888;

/* Used to register rc5_decoder clients */
static LIST_HEAD(decoder_list);
static spinlock_t decoder_lock;
static DEFINE_SPINLOCK(decoder_lock);

enum rc5_state {
STATE_INACTIVE,
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/media/IR/rc-map.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

/* Used to handle IR raw handler extensions */
static LIST_HEAD(rc_map_list);
static spinlock_t rc_map_lock;

static DEFINE_SPINLOCK(rc_map_lock);

static struct rc_keymap *seek_rc_map(const char *name)
{
Expand Down

0 comments on commit 525795a

Please sign in to comment.