]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: g_NCR5380: Reduce overrides[] from array to struct
authorOndrej Zary <linux@rainbow-software.org>
Tue, 27 Sep 2016 19:00:24 +0000 (21:00 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 30 Sep 2016 01:52:10 +0000 (21:52 -0400)
commitd91f5afe595a3c4bdc1b755225024862c2e917f0
tree1ffcf924ca4b9b87015791f0a31542d93522af56
parentc47946c2dda311216ac11e981809b2d70609258f
scsi: g_NCR5380: Reduce overrides[] from array to struct

Remove compile-time card type definition GENERIC_NCR5380_OVERRIDE.  Then
remove all code iterating the overrides[] array and reduce it to struct
card.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Acked-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/g_NCR5380.c