> > +   struct i2c_adapter_quirks *quirks;
> >  };
> >  #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev)
> >  
> 
> I suggest to add const.
>       const struct i2c_adapter_quirks *quirks;
> 
> also, in i2c-core.c, should modify:
>       const struct i2c_adapter_quirks *q = adap->quirks;

Thanks, I'll think about it.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to