mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] drivers/{char|isdn}: work_struct-induced breakage
part 1 of fsck-knows-how-many Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
7a87b6c228
commit
3e577a80ea
6 changed files with 22 additions and 23 deletions
|
|
@ -71,8 +71,9 @@ ergo_interrupt(int intno, void *dev_id)
|
|||
/* may be queued from everywhere (interrupts included). */
|
||||
/******************************************************************************/
|
||||
static void
|
||||
ergo_irq_bh(hysdn_card * card)
|
||||
ergo_irq_bh(struct work_struct *ugli_api)
|
||||
{
|
||||
hysdn_card * card = container_of(ugli_api, hysdn_card, irq_queue);
|
||||
tErgDpram *dpr;
|
||||
int again;
|
||||
unsigned long flags;
|
||||
|
|
@ -442,7 +443,7 @@ ergo_inithardware(hysdn_card * card)
|
|||
card->writebootseq = ergo_writebootseq;
|
||||
card->waitpofready = ergo_waitpofready;
|
||||
card->set_errlog_state = ergo_set_errlog_state;
|
||||
INIT_WORK(&card->irq_queue, (void *) (void *) ergo_irq_bh, card);
|
||||
INIT_WORK(&card->irq_queue, ergo_irq_bh);
|
||||
card->hysdn_lock = SPIN_LOCK_UNLOCKED;
|
||||
|
||||
return (0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue