wl1251: use wiphy_dev instead of wl->spi->dev
[linux/fpc-iii.git] / arch / arm / plat-mxc / include / mach / i2c.h
blob4a5dc5c6d8e8121e4af007d71bf9a0b989fdd8c0
1 /*
2 * i2c.h - i.MX I2C driver header file
4 * Copyright (c) 2008, Darius Augulis <augulis.darius@gmail.com>
6 * This file is released under the GPLv2
7 */
9 #ifndef __ASM_ARCH_I2C_H_
10 #define __ASM_ARCH_I2C_H_
12 /**
13 * struct imxi2c_platform_data - structure of platform data for MXC I2C driver
14 * @init: Initialise gpio's and other board specific things
15 * @exit: Free everything initialised by @init
16 * @bitrate: Bus speed measured in Hz
18 **/
19 struct imxi2c_platform_data {
20 int (*init)(struct device *dev);
21 void (*exit)(struct device *dev);
22 int bitrate;
25 #endif /* __ASM_ARCH_I2C_H_ */