Root/
1 | /* |
2 | * i2c-xiic.h |
3 | * Copyright (c) 2009 Intel Corporation |
4 | * |
5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License version 2 as |
7 | * published by the Free Software Foundation. |
8 | * |
9 | * This program is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | * GNU General Public License for more details. |
13 | * |
14 | * You should have received a copy of the GNU General Public License |
15 | * along with this program; if not, write to the Free Software |
16 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | */ |
18 | |
19 | /* Supports: |
20 | * Xilinx IIC |
21 | */ |
22 | |
23 | #ifndef _LINUX_I2C_XIIC_H |
24 | #define _LINUX_I2C_XIIC_H |
25 | |
26 | /** |
27 | * struct xiic_i2c_platform_data - Platform data of the Xilinx I2C driver |
28 | * @num_devices: Number of devices that shall be added when the driver |
29 | * is probed. |
30 | * @devices: The actuall devices to add. |
31 | * |
32 | * This purpose of this platform data struct is to be able to provide a number |
33 | * of devices that should be added to the I2C bus. The reason is that sometimes |
34 | * the I2C board info is not enough, a new PCI board can for instance be |
35 | * plugged into a standard PC, and the bus number might be unknown at |
36 | * early init time. |
37 | */ |
38 | struct xiic_i2c_platform_data { |
39 | u8 num_devices; |
40 | struct i2c_board_info const *devices; |
41 | }; |
42 | |
43 | #endif /* _LINUX_I2C_XIIC_H */ |
44 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9