]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/scsi/sun3_scsi.c
scsi: ncr5380: Reduce #include files
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 15 Jan 2017 23:50:57 +0000 (18:50 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 1 Feb 2017 02:38:15 +0000 (21:38 -0500)
commit14d739f640d894b4b5db1ab3e1df17b865825a42
tree8dea026b9bea32690ac1c3409bd1aed099b81f78
parent9507037304e581493bcd8bf76e013e44be71470e
scsi: ncr5380: Reduce #include files

The NCR5380 wrapper drivers don't export symbols or declarations and
don't actually need separate header files. Most of these header files
were removed already; only sun3_scsi.h and g_NCR5380.h remain.

Move the remaining definitions to the corresponding .c files to improve
readability and proximity. The #defines which influence the #included
core driver are no longer mixed up with unrelated #defines and #includes.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
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>
drivers/scsi/g_NCR5380.c
drivers/scsi/g_NCR5380.h [deleted file]
drivers/scsi/sun3_scsi.c
drivers/scsi/sun3_scsi.h [deleted file]