Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44680
b: refs/heads/master
c: 2343217
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Machek authored and Russell King committed Dec 17, 2006
1 parent c03e1da commit ed936c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 46a34d68901c12621ef09f11a5d410b92f0643e4
refs/heads/master: 2343217fb770ef2b172a12186c0cd0526bfb7d0c
6 changes: 3 additions & 3 deletions trunk/drivers/video/sa1100fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1200,9 +1200,9 @@ static void set_ctrlr_state(struct sa1100fb_info *fbi, u_int state)
* Our LCD controller task (which is called when we blank or unblank)
* via keventd.
*/
static void sa1100fb_task(void *dummy)
static void sa1100fb_task(struct work_struct *w)
{
struct sa1100fb_info *fbi = dummy;
struct sa1100fb_info *fbi = container_of(w, struct sa1100fb_info, task);
u_int state = xchg(&fbi->task_state, -1);

set_ctrlr_state(fbi, state);
Expand Down Expand Up @@ -1444,7 +1444,7 @@ static struct sa1100fb_info * __init sa1100fb_init_fbinfo(struct device *dev)
fbi->max_bpp / 8;

init_waitqueue_head(&fbi->ctrlr_wait);
INIT_WORK(&fbi->task, sa1100fb_task, fbi);
INIT_WORK(&fbi->task, sa1100fb_task);
init_MUTEX(&fbi->ctrlr_sem);

return fbi;
Expand Down

0 comments on commit ed936c2

Please sign in to comment.