[PATCH] staging: comedi: ni_atmio: fix build errors

H Hartley Sweeten hartleys at visionengravers.com
Wed Mar 13 00:42:36 UTC 2013


On Tuesday, March 12, 2013 11:45 AM, Greg Kroah-Hartman wrote:
> On Tue, Mar 12, 2013 at 10:53:11AM -0700, H Hartley Sweeten wrote:
>> 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.
>> 
>> Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
>> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
>
> You forgot a "Reported-by" line here :(
>
> I'll go add it by hand...

Sorry about that.
Hartley



More information about the devel mailing list