From: H Hartley Sweeten Date: Mon, 10 Nov 2014 23:20:13 +0000 (-0700) Subject: staging: comedi: addi_apci_1564: fix timer iobase for all PLD revisions X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~165 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cf8ea2ebfb4421927cd7f1c66247d6980b5ac4c;p=pandora-kernel.git staging: comedi: addi_apci_1564: fix timer 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. Add a member, 'timer', to the private data for the base address of the 12-bit timer. Fix the register defines so they will work for all PLD revisions and initialize the devpriv->timer appropriately. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed