aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm/ueagle-atm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/atm/ueagle-atm.c')
-rw-r--r--drivers/usb/atm/ueagle-atm.c6
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 */
661static void uea_load_page(void *xsc) 661static 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