scsi: mvme147: stop using scsi_module.c
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Mar 2018 07:37:49 +0000 (08:37 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 20 Mar 2018 02:54:47 +0000 (22:54 -0400)
commit6937d7322ac4c56b56cc6bd5c83fd1d36ce52f5d
treedbe4cb0787a8dfed4b78de55fb0b07e76de65197
parent5785bfadcdb596df7e103636c81e5ae6dd0caa5e
scsi: mvme147: stop using scsi_module.c

Convert the driver to modern style probing.  Given that there only is a
single instance for a given board that can be done using a global struct
Scsi_Host instance easily.

Also fix the removal path by passing the correct cookie to free_irq, and
enable it unconditionally.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mvme147.c