Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300218
b: refs/heads/master
c: 3c8d9a9
h: refs/heads/master
v: v3
  • Loading branch information
James Bottomley authored and James Bottomley committed May 10, 2012
1 parent 779c016 commit b16fe86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6abd7f132a4b74d9cdd3ef79fc71ca73909631f2
refs/heads/master: 3c8d9a957d0ae62c2815393a781ab7ff4d5205e7
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/hosts.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ int scsi_add_host_with_dma(struct Scsi_Host *shost, struct device *dev,

if (!shost->shost_gendev.parent)
shost->shost_gendev.parent = dev ? dev : &platform_bus;
if (!dma_dev)
dma_dev = shost->shost_gendev.parent;

shost->dma_dev = dma_dev;

error = device_add(&shost->shost_gendev);
Expand Down

0 comments on commit b16fe86

Please sign in to comment.