From: H Hartley Sweeten Date: Mon, 10 Nov 2014 23:20:12 +0000 (-0700) Subject: staging: comedi: addi_apci_1564: fix dev->iobase for all PLD revisions X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~166 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37436196525239c61816a5b9e009a7aeab11ad2c;p=pandora-kernel.git staging: comedi: addi_apci_1564: fix dev->iobase for all PLD revisions The APCI-1564 has different I/O mapping depending on if the PLD revision is Rev 1.0 or Rev 2.x. Fix the main register defines so they will work for all PLD revisions and initialie the dev->iobase appropriately. Move the register defines to the main driver source file. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed