[BACK]Return to ihidev.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / i2c

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/i2c/ihidev.c between version 1.2 and 1.3

version 1.2, 2018/03/20 12:14:52 version 1.3, 2018/06/16 21:22:13
Line 129  static int
Line 129  static int
 ihidev_match(device_t parent, cfdata_t match, void *aux)  ihidev_match(device_t parent, cfdata_t match, void *aux)
 {  {
         struct i2c_attach_args * const ia = aux;          struct i2c_attach_args * const ia = aux;
           int match_result;
   
           if (iic_use_direct_match(ia, match, ihidev_compats, &match_result))
                   return I2C_MATCH_DIRECT_COMPATIBLE;
   
         if (ia->ia_ncompat > 0) {  
                 if (iic_compat_match(ia, ihidev_compats))  
                         return 1;  
         }  
         return 0;          return 0;
 }  }
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>