/* * i2c-ocores.h - definitions for the i2c-ocores interface * * Peter Korsgaard <jacmet@sunsite.dk> * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any * kind, whether express or implied. */#ifndef _LINUX_I2C_OCORES_H#define _LINUX_I2C_OCORES_Hstructocores_i2c_platform_data{u32reg_shift;/* register offset shift value */u32reg_io_width;/* register io read/write width */u32clock_khz;/* input clock in kHz */u8num_devices;/* number of devices in the devices list */structi2c_board_infoconst*devices;/* devices connected to the bus */};#endif /* _LINUX_I2C_OCORES_H */