summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2018-04-19 23:00:11 +0300
committerWolfram Sang <wsa@the-dreams.de>2018-05-17 17:27:58 +0300
commite5c7137793a754500e65ffd7477e88ff7a06ac53 (patch)
treebd925d53b5a56881d18993a958bdad3452d8d6ef /include/linux/platform_data
parent79fc540fd543f47e77e1c7d407f2c082872a4625 (diff)
downloadlinux-e5c7137793a754500e65ffd7477e88ff7a06ac53.tar.xz
i2c: pca-platform: move header to platform_data
This header only contains platform_data. Move it to the proper directory. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/i2c-pca-platform.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/platform_data/i2c-pca-platform.h b/include/linux/platform_data/i2c-pca-platform.h
new file mode 100644
index 000000000000..c37329432a8e
--- /dev/null
+++ b/include/linux/platform_data/i2c-pca-platform.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef I2C_PCA9564_PLATFORM_H
+#define I2C_PCA9564_PLATFORM_H
+
+struct i2c_pca9564_pf_platform_data {
+ int i2c_clock_speed; /* values are defined in linux/i2c-algo-pca.h */
+ int timeout; /* timeout in jiffies */
+};
+
+#endif /* I2C_PCA9564_PLATFORM_H */