]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
sun3_scsi: Move macro definitions
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 12 Nov 2014 05:12:12 +0000 (16:12 +1100)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:15 +0000 (09:11 +0100)
commit2231ef876a0ab4ab7b344bff6cc1508d9b6c1b52
treea28d1ea3d31db1da28365dd1e11be45ed98bd645
parent0d31f8759109cbc1e6fc196d08e6b0e8a9e93b3f
sun3_scsi: Move macro definitions

The #defines in sun3_scsi.h are intended to influence subsequent #includes
in sun3_scsi.c. IMHO, that's too convoluted.

Move sun3_scsi.h macro definitions to sun3_scsi.c, consistent with other
NCR5380 drivers.

Omit the unused NCR5380_local_declare() and NCR5380_setup() macros.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/sun3_scsi.c
drivers/scsi/sun3_scsi.h