From: H Hartley Sweeten Date: Wed, 12 Aug 2015 20:25:46 +0000 (-0700) Subject: staging: comedi: addi_apci_3501: use addi_tcw.h for the timer registers X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd5d0ae4814f4f943c97c83f7f2f393a99b4d3a0;p=pandora-kernel.git staging: comedi: addi_apci_3501: use addi_tcw.h for the timer registers The APCI3501_TIMER_* register defines in this driver are that same as the ADDI_TCW_* defines with an additional offset. Add a 'tcw' (timer/counter/watchdog) member to the private data to hold the address for the iobase of the registers. Use that and the defines from addi_tcw.h to address the registers. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed