diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 16:05:48 +1100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-06 21:43:03 -0500 |
commit | aa2e2cb1dde0e72e039f94210fb17e73661a6351 (patch) | |
tree | 531b741244cc154f7a8ff7aa7b0c43fa01b93e92 /drivers/scsi/dmx3191d.c | |
parent | bf1a0c6f8f2c1959082f1b55b907dde100c87501 (diff) | |
download | talos-obmc-linux-aa2e2cb1dde0e72e039f94210fb17e73661a6351.tar.gz talos-obmc-linux-aa2e2cb1dde0e72e039f94210fb17e73661a6351.zip |
ncr5380: Fix and cleanup scsi_host_template initializers
Add missing .module initializer. Use distinct .proc_name values for the
g_NCR5380 and g_NCR5380_mmio modules. Remove pointless CAN_QUEUE and
CMD_PER_LUN override macros. Cleanup whitespace and code style.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dmx3191d.c')
-rw-r--r-- | drivers/scsi/dmx3191d.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c index 05402830defe..7f66c9e76c3b 100644 --- a/drivers/scsi/dmx3191d.c +++ b/drivers/scsi/dmx3191d.c @@ -49,6 +49,7 @@ static struct scsi_host_template dmx3191d_driver_template = { + .module = THIS_MODULE, .proc_name = DMX3191D_DRIVER_NAME, .name = "Domex DMX3191D", .info = NCR5380_info, |