00001 /* 00002 * include/linux/i2c-algo-mpc5xxx.h 00003 * 00004 * I2C support for MPC5xxx processors 00005 * 00006 * 2003 (c) Wolfgang Denk, DENX Software Engineering, <wd@denx.de>. This 00007 * file is licensed under the terms of the GNU General Public License 00008 * version 2. This program is licensed "as is" without any warranty of 00009 * any kind, whether express or implied. 00010 */ 00011 00012 #ifndef _I2C_ALGO_PPC_5XXX_h_ 00013 #define _I2C_ALGO_PPC_5XXX_h_ 00014 00015 #include <asm/mpc5xxx.h> 00016 00017 struct i2c_algo_mpc5xxx_data { 00018 struct mpc5xxx_i2c *regs; /* I2C module registers */ 00019 unsigned char addr; /* I2C module address */ 00020 }; 00021 00022 int i2c_mpc5xxx_add_bus(struct i2c_adapter *); 00023 int i2c_mpc5xxx_del_bus(struct i2c_adapter *); 00024 00025 #endif /* _I2C_ALGO_PPC_5XXX_H_ */
1.3.6