From: H Hartley Sweeten Date: Sat, 6 Apr 2013 00:36:03 +0000 (-0700) Subject: staging: comedi: dt2801: remove 'boardtype' macro X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23e79f81ade338d1ca9283895088b5d0f57bc4df;p=pandora-kernel.git staging: comedi: dt2801: remove 'boardtype' macro The 'boardtype' macro relies on a local variable having a specific name and yields a struct derived from that local variable. Replace the macro with local variables and use the comedi_board() helper to get the struct as a pointer. Use pointer access when using the variable. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed