i2c-davinci.c (9242e72aaea05c0fce2003a8efa48f403d87a5bf) | i2c-davinci.c (8dc0f8c73c54c9d1a7fe8188ef3e70123a960eaf) |
---|---|
1/* 2 * TI DAVINCI I2C adapter driver. 3 * 4 * Copyright (C) 2006 Texas Instruments. 5 * Copyright (C) 2007 MontaVista Software Inc. 6 * 7 * Updated by Vinod & Sudhakar Feb 2005 8 * --- 719 unchanged lines hidden (view full) --- 728 return 0; 729} 730 731static inline void i2c_davinci_cpufreq_deregister(struct davinci_i2c_dev *dev) 732{ 733} 734#endif 735 | 1/* 2 * TI DAVINCI I2C adapter driver. 3 * 4 * Copyright (C) 2006 Texas Instruments. 5 * Copyright (C) 2007 MontaVista Software Inc. 6 * 7 * Updated by Vinod & Sudhakar Feb 2005 8 * --- 719 unchanged lines hidden (view full) --- 728 return 0; 729} 730 731static inline void i2c_davinci_cpufreq_deregister(struct davinci_i2c_dev *dev) 732{ 733} 734#endif 735 |
736static struct i2c_algorithm i2c_davinci_algo = { | 736static const struct i2c_algorithm i2c_davinci_algo = { |
737 .master_xfer = i2c_davinci_xfer, 738 .functionality = i2c_davinci_func, 739}; 740 741static const struct of_device_id davinci_i2c_of_match[] = { 742 {.compatible = "ti,davinci-i2c", }, 743 {.compatible = "ti,keystone-i2c", }, 744 {}, --- 193 unchanged lines hidden --- | 737 .master_xfer = i2c_davinci_xfer, 738 .functionality = i2c_davinci_func, 739}; 740 741static const struct of_device_id davinci_i2c_of_match[] = { 742 {.compatible = "ti,davinci-i2c", }, 743 {.compatible = "ti,keystone-i2c", }, 744 {}, --- 193 unchanged lines hidden --- |