Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125115
b: refs/heads/master
c: e17be2b
h: refs/heads/master
i:
  125113: efcfdcb
  125111: 67412ab
v: v3
  • Loading branch information
David Vrabel committed Nov 17, 2008
1 parent 4f354fa commit a4ce637
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 58be81ed301d96045bca2b85f3b838910efcfde4
refs/heads/master: e17be2b2a95b43fe0d5878adf330701bb7a77115
2 changes: 1 addition & 1 deletion trunk/drivers/uwb/rsv.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ static struct uwb_rsv *uwb_rsv_new_target(struct uwb_rc *rc,
spin_lock(&rc->pal_lock);
list_for_each_entry(pal, &rc->pals, node) {
if (pal->new_rsv)
pal->new_rsv(rsv);
pal->new_rsv(pal, rsv);
if (rsv->state == UWB_RSV_STATE_T_ACCEPTED)
break;
}
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/uwb/uwb-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,13 @@ static struct file_operations drp_avail_fops = {
.owner = THIS_MODULE,
};

static void uwb_dbg_new_rsv(struct uwb_rsv *rsv)
static void uwb_dbg_new_rsv(struct uwb_pal *pal, struct uwb_rsv *rsv)
{
struct uwb_rc *rc = rsv->rc;
struct uwb_dbg *dbg = container_of(pal, struct uwb_dbg, pal);

if (rc->dbg->accept) {
list_add_tail(&rsv->pal_node, &rc->dbg->rsvs);
uwb_rsv_accept(rsv, uwb_dbg_rsv_cb, NULL);
if (dbg->accept) {
list_add_tail(&rsv->pal_node, &dbg->rsvs);
uwb_rsv_accept(rsv, uwb_dbg_rsv_cb, dbg);
}
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/uwb.h
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ struct uwb_pal {
struct list_head node;
const char *name;
struct device *device;
void (*new_rsv)(struct uwb_rsv *rsv);
void (*new_rsv)(struct uwb_pal *pal, struct uwb_rsv *rsv);
};

void uwb_pal_init(struct uwb_pal *pal);
Expand Down

0 comments on commit a4ce637

Please sign in to comment.