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/usb/atm/ueagle-atm.c | |
parent | 65f27f38446e1976cc98fd3004b110fedcddd189 (diff) |
WorkStruct: make allyesconfig
Fix up for make allyesconfig.
Signed-Off-By: David Howells <dhowells@redhat.com>
Diffstat (limited to 'drivers/usb/atm/ueagle-atm.c')
-rw-r--r-- | drivers/usb/atm/ueagle-atm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c index f6b9f7e1f716..e39bb09f5af9 100644 --- a/drivers/usb/atm/ueagle-atm.c +++ b/drivers/usb/atm/ueagle-atm.c | |||
@@ -658,9 +658,9 @@ static int request_dsp(struct uea_softc *sc) | |||
658 | /* | 658 | /* |
659 | * The uea_load_page() function must be called within a process context | 659 | * The uea_load_page() function must be called within a process context |
660 | */ | 660 | */ |
661 | static void uea_load_page(void *xsc) | 661 | static void uea_load_page(struct work_struct *work) |
662 | { | 662 | { |
663 | struct uea_softc *sc = xsc; | 663 | struct uea_softc *sc = container_of(work, struct uea_softc, task); |
664 | u16 pageno = sc->pageno; | 664 | u16 pageno = sc->pageno; |
665 | u16 ovl = sc->ovl; | 665 | u16 ovl = sc->ovl; |
666 | struct block_info bi; | 666 | struct block_info bi; |
@@ -1352,7 +1352,7 @@ static int uea_boot(struct uea_softc *sc) | |||
1352 | 1352 | ||
1353 | uea_enters(INS_TO_USBDEV(sc)); | 1353 | uea_enters(INS_TO_USBDEV(sc)); |
1354 | 1354 | ||
1355 | INIT_WORK(&sc->task, uea_load_page, sc); | 1355 | INIT_WORK(&sc->task, uea_load_page); |
1356 | init_waitqueue_head(&sc->sync_q); | 1356 | init_waitqueue_head(&sc->sync_q); |
1357 | init_waitqueue_head(&sc->cmv_ack_wait); | 1357 | init_waitqueue_head(&sc->cmv_ack_wait); |
1358 | 1358 | ||