diff options
author | David Howells <dhowells@redhat.com> | 2006-11-22 09:57:56 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2006-11-22 09:57:56 -0500 |
commit | c4028958b6ecad064b1a6303a6a5906d4fe48d73 (patch) | |
tree | 1c4c89652c62a75da09f9b9442012007e4ac6250 /drivers/media/video/saa6588.c | |
parent | 65f27f38446e1976cc98fd3004b110fedcddd189 (diff) |
WorkStruct: make allyesconfig
Fix up for make allyesconfig.
Signed-Off-By: David Howells <dhowells@redhat.com>
Diffstat (limited to 'drivers/media/video/saa6588.c')
-rw-r--r-- | drivers/media/video/saa6588.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/saa6588.c b/drivers/media/video/saa6588.c index a81285ca7d5b..8ba05c214ca7 100644 --- a/drivers/media/video/saa6588.c +++ b/drivers/media/video/saa6588.c | |||
@@ -322,9 +322,9 @@ static void saa6588_timer(unsigned long data) | |||
322 | schedule_work(&s->work); | 322 | schedule_work(&s->work); |
323 | } | 323 | } |
324 | 324 | ||
325 | static void saa6588_work(void *data) | 325 | static void saa6588_work(struct work_struct *work) |
326 | { | 326 | { |
327 | struct saa6588 *s = (struct saa6588 *)data; | 327 | struct saa6588 *s = container_of(work, struct saa6588, work); |
328 | 328 | ||
329 | saa6588_i2c_poll(s); | 329 | saa6588_i2c_poll(s); |
330 | mod_timer(&s->timer, jiffies + msecs_to_jiffies(20)); | 330 | mod_timer(&s->timer, jiffies + msecs_to_jiffies(20)); |
@@ -417,7 +417,7 @@ static int saa6588_attach(struct i2c_adapter *adap, int addr, int kind) | |||
417 | saa6588_configure(s); | 417 | saa6588_configure(s); |
418 | 418 | ||
419 | /* start polling via eventd */ | 419 | /* start polling via eventd */ |
420 | INIT_WORK(&s->work, saa6588_work, s); | 420 | INIT_WORK(&s->work, saa6588_work); |
421 | init_timer(&s->timer); | 421 | init_timer(&s->timer); |
422 | s->timer.function = saa6588_timer; | 422 | s->timer.function = saa6588_timer; |
423 | s->timer.data = (unsigned long)s; | 423 | s->timer.data = (unsigned long)s; |