WorkStruct: make allyesconfig

Fix up for make allyesconfig.

Signed-Off-By: David Howells <dhowells@redhat.com>
This commit is contained in:
David Howells
2006-11-22 14:57:56 +00:00
parent 65f27f3844
commit c4028958b6
282 changed files with 1775 additions and 1454 deletions

View File

@ -964,9 +964,10 @@ struct work_queue_wrapper {
};
static void
spi_dv_device_work_wrapper(void *data)
spi_dv_device_work_wrapper(struct work_struct *work)
{
struct work_queue_wrapper *wqw = (struct work_queue_wrapper *)data;
struct work_queue_wrapper *wqw =
container_of(work, struct work_queue_wrapper, work);
struct scsi_device *sdev = wqw->sdev;
kfree(wqw);
@ -1006,7 +1007,7 @@ spi_schedule_dv_device(struct scsi_device *sdev)
return;
}
INIT_WORK(&wqw->work, spi_dv_device_work_wrapper, wqw);
INIT_WORK(&wqw->work, spi_dv_device_work_wrapper);
wqw->sdev = sdev;
schedule_work(&wqw->work);