On 2014-06-20 19:10, H Hartley Sweeten wrote:
The comedi core expects the first member of the boardinfo to be a 'const char *' to the board name. The comedi_recognize() function uses this to locate the correct boardinfo when doing a legacy (*attach) to a comedi driver.
It doesn't matter in this case, as comedi_recognize() just returns NULL for these drivers (because `num_names` in the struct comedi_driver is 0), but there's no harm putting the board name first for consistency!
-- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel