1*bdab7f26SFrançois Tigeot /* 2*bdab7f26SFrançois Tigeot * Copyright (c) 2013 François Tigeot 3*bdab7f26SFrançois Tigeot * All rights reserved. 4*bdab7f26SFrançois Tigeot * 5*bdab7f26SFrançois Tigeot * Redistribution and use in source and binary forms, with or without 6*bdab7f26SFrançois Tigeot * modification, are permitted provided that the following conditions 7*bdab7f26SFrançois Tigeot * are met: 8*bdab7f26SFrançois Tigeot * 1. Redistributions of source code must retain the above copyright 9*bdab7f26SFrançois Tigeot * notice unmodified, this list of conditions, and the following 10*bdab7f26SFrançois Tigeot * disclaimer. 11*bdab7f26SFrançois Tigeot * 2. Redistributions in binary form must reproduce the above copyright 12*bdab7f26SFrançois Tigeot * notice, this list of conditions and the following disclaimer in the 13*bdab7f26SFrançois Tigeot * documentation and/or other materials provided with the distribution. 14*bdab7f26SFrançois Tigeot * 15*bdab7f26SFrançois Tigeot * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16*bdab7f26SFrançois Tigeot * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17*bdab7f26SFrançois Tigeot * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18*bdab7f26SFrançois Tigeot * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19*bdab7f26SFrançois Tigeot * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20*bdab7f26SFrançois Tigeot * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21*bdab7f26SFrançois Tigeot * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22*bdab7f26SFrançois Tigeot * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23*bdab7f26SFrançois Tigeot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24*bdab7f26SFrançois Tigeot * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25*bdab7f26SFrançois Tigeot */ 26*bdab7f26SFrançois Tigeot 27*bdab7f26SFrançois Tigeot #ifndef _LINUX_I2C_H_ 28*bdab7f26SFrançois Tigeot #define _LINUX_I2C_H_ 29*bdab7f26SFrançois Tigeot 30*bdab7f26SFrançois Tigeot #include <bus/iicbus/iic.h> 31*bdab7f26SFrançois Tigeot 32*bdab7f26SFrançois Tigeot #define i2c_msg iic_msg 33*bdab7f26SFrançois Tigeot 34*bdab7f26SFrançois Tigeot #endif /* _LINUX_I2C_H_ */ 35