aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-robotfuzz-osif.c
AgeCommit message (Collapse)AuthorFilesLines
2017-02-09i2c: busses: constify i2c_algorithm structuresBhumika Goyal1-1/+1
Declare i2c_algorithm structures as const as they are only stored in the algo field of an i2c_adapter structure. This field is of type const, so i2c_algorithm structures having this property can be made const too. Signed-off-by: Bhumika Goyal <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> for Acked-by: Patrice Chotard <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Reviewed-by: Jean Delvare <[email protected]> Acked-by: Ludovic Desroches <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
2016-06-13i2c: robotfuzz-osif: Constify osif_tableAxel Lin1-1/+1
osif_table is never modified, so declare it as const. Signed-off-by: Axel Lin <[email protected]> Acked-by: Andrew Lunn <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
2014-01-13i2c: Add bus driver for for OSIF USB i2c device.Andrew Lunn1-0/+202
OSIF, Open Source InterFace, is a USB based i2c bus master. The origional design was based on i2c-tiny-usb, but more modern versions of the firmware running on the MegaAVR microcontroller use a different protocol over the USB. This code is based on Barry Carter <[email protected]> driver. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>