Re: [PATCH] m68k link error and NCR5380_exit()

Christoph Hellwig
2005-03-07T06:37:29Z

> .detect = macscsi_detect,
> - .release = macscsi_release,
> + .release = __exit_p(macscsi_release),

Please get rid of your ->detect/->release useage instead. Allocate
the host struct directly with scsi_host_alloc and add it when setup using
scsi_add_host/scsi_scan_host in your init routine and call scsi_remove_host/
scsi_host_put in the module exit routine. see qla1280.c for an example
that does this for the 2.6 case and to ease your porting also has the 2.4
code ifdefed so you have the direct comparism.