projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WorkStruct: make allyesconfig
[deliverable/linux.git]
/
drivers
/
isdn
/
hisax
/
hfc_sx.c
diff --git
a/drivers/isdn/hisax/hfc_sx.c
b/drivers/isdn/hisax/hfc_sx.c
index 954d1536db1ffa8d6ede0b7e1b4927f5722c0f6f..4fd09d21a27f587c52e9fd1485ab7132dff1151b 100644
(file)
--- a/
drivers/isdn/hisax/hfc_sx.c
+++ b/
drivers/isdn/hisax/hfc_sx.c
@@
-1251,8
+1251,10
@@
setstack_2b(struct PStack *st, struct BCState *bcs)
/* handle L1 state changes */
/***************************/
static void
/* handle L1 state changes */
/***************************/
static void
-hfcsx_bh(struct
IsdnCardState *cs
)
+hfcsx_bh(struct
work_struct *work
)
{
{
+ struct IsdnCardState *cs =
+ container_of(work, struct IsdnCardState, tqueue);
u_long flags;
if (!cs)
u_long flags;
if (!cs)
@@
-1499,7
+1501,7
@@
setup_hfcsx(struct IsdnCard *card)
cs->dbusytimer.function = (void *) hfcsx_dbusy_timer;
cs->dbusytimer.data = (long) cs;
init_timer(&cs->dbusytimer);
cs->dbusytimer.function = (void *) hfcsx_dbusy_timer;
cs->dbusytimer.data = (long) cs;
init_timer(&cs->dbusytimer);
- INIT_WORK(&cs->tqueue,
(void *)(void *) hfcsx_bh, cs
);
+ INIT_WORK(&cs->tqueue,
hfcsx_bh
);
cs->readisac = NULL;
cs->writeisac = NULL;
cs->readisacfifo = NULL;
cs->readisac = NULL;
cs->writeisac = NULL;
cs->readisacfifo = NULL;
This page took
0.024065 seconds
and
5
git commands to generate.