From: H Hartley Sweeten Date: Tue, 12 Mar 2013 17:53:11 +0000 (-0700) Subject: staging: comedi: ni_atmio: fix build errors X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~658 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca4d4aa6b79f143f4c8606c60bad005405623faa;p=pandora-kernel.git staging: comedi: ni_atmio: fix build errors The following commits introduced a couple build errors in this driver due to the removal of some macros in ni_stc.h. commit: f5a1d92b "staging: comedi: ni_stc.h: remove n_ni_boards macro" commit: 6293e357 "staging: comedi: ni_stc.h: remove boardtype macro" The n_ni_boards macro is an open coded version of ARRAY_SIZE. The boardtype macro is removed in favor of using the comedi_board() helper and accessing the boardinfo with a pointer. Fix both issues. Reported-by: kbuild test robot Signed-off-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed