[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)
commit394dbf3f4005622fa52f1805eb950f08ce20f636
treeebfe29af705e696dce211128016f843ff26b8dbf
parent4a2d31c811542d37258b3976975395cb1c0fba1c
[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