From: H Hartley Sweeten Date: Fri, 20 Sep 2013 23:40:44 +0000 (-0700) Subject: staging: comedi: pcl711: define the mode register magic numbers X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~666 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd8b1b8c1632868f6be2c9edb5ddec8453b9b828;p=pandora-kernel.git staging: comedi: pcl711: define the mode register magic numbers Define the magic numbers used with the mode register. For the PCL711B board, the mode register also contains the irq number that is being used. Introduce a helper function to write to the mode register so that this irq number is always included when needed. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed