From: Finn Thain Date: Wed, 12 Nov 2014 05:12:21 +0000 (+1100) Subject: atari_NCR5380: Move static co-routine variables to host data X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~21^2^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a53a21e4662fd2ed27863f511715898459312393;p=pandora-kernel.git atari_NCR5380: Move static co-routine variables to host data Unlike NCR5380.c, the atari_NCR5380.c core driver is limited to a single instance because co-routine state is stored globally. Fix this by removing the static scsi host pointer. For the co-routine, obtain this pointer from the work_struct pointer instead. For the interrupt handler, obtain it from the dev_id argument. Signed-off-by: Finn Thain Reviewed-by: Hannes Reinecke Tested-by: Michael Schmitz Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed