1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright (c) 2009 Intel Corporation
11 #ifndef _LINUX_I2C_XIIC_H
12 #define _LINUX_I2C_XIIC_H
15 * struct xiic_i2c_platform_data - Platform data of the Xilinx I2C driver
16 * @num_devices: Number of devices that shall be added when the driver
18 * @devices: The actuall devices to add.
20 * This purpose of this platform data struct is to be able to provide a number
21 * of devices that should be added to the I2C bus. The reason is that sometimes
22 * the I2C board info is not enough, a new PCI board can for instance be
23 * plugged into a standard PC, and the bus number might be unknown at
26 struct xiic_i2c_platform_data {
28 struct i2c_board_info const *devices;
31 #endif /* _LINUX_I2C_XIIC_H */