| * Header file for I2C support on PNX010x/4008. |
| * Author: Dennis Kovalev <dkovalev@ru.mvista.com> |
| * 2004-2006 (c) MontaVista Software, Inc. 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 |
| int ret; /* Return value */ |
| int mode; /* Interface mode */ |
| struct completion complete; /* I/O completion */ |
| struct timer_list timer; /* Timeout */ |
| u8 * buf; /* Data buffer */ |
| int len; /* Length of data buffer */ |
| struct i2c_pnx_algo_data { |
| struct i2c_pnx_data *i2c_pnx; |
| struct i2c_adapter adapter; |
| #endif /* __I2C_PNX_H__ */ |