]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] advansys: Move struct device out of the cfg structures
authorMatthew Wilcox <matthew@wil.cx>
Thu, 26 Jul 2007 15:56:40 +0000 (11:56 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:39:41 +0000 (14:39 -0400)
commit58908774a466de439a72e323e433f8d3e179cfc8
treeebfe29af705e696dce211128016f843ff26b8dbf
parent9fc2f5c602f937abc151e339ec6a67adec59d49d
[SCSI] advansys: Move struct device out of the cfg structures

The cfg structures are supposed to be disposable after initialisation;
with the 'dev' used for DMA mapping in there, that's not possible.  Move
the dev to the board.

Also inline AscInitFromAscDvcVar into its only caller, remove some
unnecessary prototypes and sort out a few minor formatting issues.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/advansys.c