Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151268
b: refs/heads/master
c: d961450
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jun 16, 2009
1 parent 500089d commit 1182d1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 4b9d0d3b81ec0900971cbe8aba8ba0ae9c08a087
refs/heads/master: d961450da5e16dae8da276c0a234764872b2307b
6 changes: 3 additions & 3 deletions trunk/drivers/firewire/fw-sbp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ static int sbp2_probe(struct device *dev)
return -ENOMEM;

tgt = (struct sbp2_target *)shost->hostdata;
unit->device.driver_data = tgt;
dev_set_drvdata(&unit->device, tgt);
tgt->unit = unit;
kref_init(&tgt->kref);
INIT_LIST_HEAD(&tgt->lu_list);
Expand Down Expand Up @@ -1180,7 +1180,7 @@ static int sbp2_probe(struct device *dev)
static int sbp2_remove(struct device *dev)
{
struct fw_unit *unit = fw_unit(dev);
struct sbp2_target *tgt = unit->device.driver_data;
struct sbp2_target *tgt = dev_get_drvdata(&unit->device);

sbp2_target_put(tgt);
return 0;
Expand Down Expand Up @@ -1240,7 +1240,7 @@ static void sbp2_reconnect(struct work_struct *work)

static void sbp2_update(struct fw_unit *unit)
{
struct sbp2_target *tgt = unit->device.driver_data;
struct sbp2_target *tgt = dev_get_drvdata(&unit->device);
struct sbp2_logical_unit *lu;

fw_device_enable_phys_dma(fw_device(unit->device.parent));
Expand Down

0 comments on commit 1182d1b

Please sign in to comment.