分类: LINUX
2008-08-20 18:26:40
staticstructi2c_adapterpb1550_board_adapter= { name:"pb1550adapter", id:I2C_HW_AU1550_PSC, algo:NULL, algo_data:&pb1550_i2c_info, inc_use:pb1550_inc_use, dec_use:pb1550_dec_use, client_register:pb1550_reg, client_unregister:pb1550_unreg, client_count:0, };
staticstructi2c_algorithmau1550_algo= { .name="Au1550algorithm", .id=I2C_ALGO_AU1550, .master_xfer=au1550_xfer, .functionality=au1550_func, }; i2c_adap->algo=&au1550_algo;
i2c_add_adapter(i2c_adap);