Commit d72f4eb1 authored by Randy Dunlap's avatar Randy Dunlap Committed by Anton Blanchard

[PATCH] imm driver needs scsi_unregister()

Same as the ppa driver, keeping them in sync.

patch_name:	scsi_imm_unreg.patch
patch_version:	2003-08-19.21:14:54
author:		Randy.Dunlap <rddunlap@osdl.org>
description:	scsi imm driver needs to call scsi_unregister();
product:	Linux
product_versions: 260-test3
diffstat:	=
 drivers/scsi/imm.c |    1 +
 1 files changed, 1 insertion(+)
parent b7aff4f6
...@@ -86,6 +86,7 @@ int imm_release(struct Scsi_Host *host) ...@@ -86,6 +86,7 @@ int imm_release(struct Scsi_Host *host)
int host_no = host->unique_id; int host_no = host->unique_id;
printk("Releasing imm%i\n", host_no); printk("Releasing imm%i\n", host_no);
scsi_unregister(host);
parport_unregister_device(imm_hosts[host_no].dev); parport_unregister_device(imm_hosts[host_no].dev);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment