projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] use scmd_id(), scmd_channel() throughout code
[powerpc.git]
/
drivers
/
scsi
/
aic7xxx
/
aic7770_osm.c
diff --git
a/drivers/scsi/aic7xxx/aic7770_osm.c
b/drivers/scsi/aic7xxx/aic7770_osm.c
index
70c5fb5
..
d754b32
100644
(file)
--- 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);