diff options
Diffstat (limited to 'drivers/uwb/uwb-debug.c')
-rw-r--r-- | drivers/uwb/uwb-debug.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/uwb/uwb-debug.c b/drivers/uwb/uwb-debug.c index 88e6ac713817..217ebaac128d 100644 --- a/drivers/uwb/uwb-debug.c +++ b/drivers/uwb/uwb-debug.c | |||
@@ -306,13 +306,13 @@ static struct file_operations drp_avail_fops = { | |||
306 | .owner = THIS_MODULE, | 306 | .owner = THIS_MODULE, |
307 | }; | 307 | }; |
308 | 308 | ||
309 | static void uwb_dbg_new_rsv(struct uwb_rsv *rsv) | 309 | static void uwb_dbg_new_rsv(struct uwb_pal *pal, struct uwb_rsv *rsv) |
310 | { | 310 | { |
311 | struct uwb_rc *rc = rsv->rc; | 311 | struct uwb_dbg *dbg = container_of(pal, struct uwb_dbg, pal); |
312 | 312 | ||
313 | if (rc->dbg->accept) { | 313 | if (dbg->accept) { |
314 | list_add_tail(&rsv->pal_node, &rc->dbg->rsvs); | 314 | list_add_tail(&rsv->pal_node, &dbg->rsvs); |
315 | uwb_rsv_accept(rsv, uwb_dbg_rsv_cb, NULL); | 315 | uwb_rsv_accept(rsv, uwb_dbg_rsv_cb, dbg); |
316 | } | 316 | } |
317 | } | 317 | } |
318 | 318 | ||