diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-03 08:07:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-03 08:07:10 -0700 |
commit | 7d6322b4659216fff76619d3b4088eecbdfa46d5 (patch) | |
tree | 19aa385d903fcc0f2b5d6d978dc83a87c2eca95f /drivers/scsi/aic7xxx/aic7770_osm.c | |
parent | d6b9acc0c6c4a7c5d484d15271a5274656d0864f (diff) | |
parent | 51c928c34fa7cff38df584ad01de988805877dba (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7770_osm.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7770_osm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/aic7xxx/aic7770_osm.c b/drivers/scsi/aic7xxx/aic7770_osm.c index 70c5fb59c9e..d754b326786 100644 --- a/drivers/scsi/aic7xxx/aic7770_osm.c +++ b/drivers/scsi/aic7xxx/aic7770_osm.c @@ -112,6 +112,9 @@ aic7770_remove(struct device *dev) struct ahc_softc *ahc = dev_get_drvdata(dev); u_long s; + if (ahc->platform_data && ahc->platform_data->host) + scsi_remove_host(ahc->platform_data->host); + ahc_lock(ahc, &s); ahc_intr_enable(ahc, FALSE); ahc_unlock(ahc, &s); |