diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2018-04-19 16:00:09 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-05-17 10:27:57 -0400 |
commit | 985ecf00375bde7d80be03a749f5b94d5ba77ac8 (patch) | |
tree | 00e215d556c3e57713866b9e850ce8fe103e24dc | |
parent | 62ea22c4954f5b147488eefa644d668e843be6f7 (diff) |
i2c: ocores: 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>
Acked-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | Documentation/i2c/busses/i2c-ocores | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-ocores.c | 2 | ||||
-rw-r--r-- | drivers/mfd/timberdale.c | 2 | ||||
-rw-r--r-- | include/linux/platform_data/i2c-ocores.h (renamed from include/linux/i2c-ocores.h) | 0 |
4 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/i2c/busses/i2c-ocores b/Documentation/i2c/busses/i2c-ocores index c269aaa2f26a..c12fa9d3b050 100644 --- a/Documentation/i2c/busses/i2c-ocores +++ b/Documentation/i2c/busses/i2c-ocores | |||
@@ -18,7 +18,7 @@ Usage | |||
18 | i2c-ocores uses the platform bus, so you need to provide a struct | 18 | i2c-ocores uses the platform bus, so you need to provide a struct |
19 | platform_device with the base address and interrupt number. The | 19 | platform_device with the base address and interrupt number. The |
20 | dev.platform_data of the device should also point to a struct | 20 | dev.platform_data of the device should also point to a struct |
21 | ocores_i2c_platform_data (see linux/i2c-ocores.h) describing the | 21 | ocores_i2c_platform_data (see linux/platform_data/i2c-ocores.h) describing the |
22 | distance between registers and the input clock speed. | 22 | distance between registers and the input clock speed. |
23 | There is also a possibility to attach a list of i2c_board_info which | 23 | There is also a possibility to attach a list of i2c_board_info which |
24 | the i2c-ocores driver will add to the bus upon creation. | 24 | the i2c-ocores driver will add to the bus upon creation. |
diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c index 8c42ca7107b2..d7da9adf7ee1 100644 --- a/drivers/i2c/busses/i2c-ocores.c +++ b/drivers/i2c/busses/i2c-ocores.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/i2c.h> | 21 | #include <linux/i2c.h> |
22 | #include <linux/interrupt.h> | 22 | #include <linux/interrupt.h> |
23 | #include <linux/wait.h> | 23 | #include <linux/wait.h> |
24 | #include <linux/i2c-ocores.h> | 24 | #include <linux/platform_data/i2c-ocores.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <linux/log2.h> | 27 | #include <linux/log2.h> |
diff --git a/drivers/mfd/timberdale.c b/drivers/mfd/timberdale.c index cd4a6d7d6750..118d7ef727e6 100644 --- a/drivers/mfd/timberdale.c +++ b/drivers/mfd/timberdale.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/timb_gpio.h> | 30 | #include <linux/timb_gpio.h> |
31 | 31 | ||
32 | #include <linux/i2c.h> | 32 | #include <linux/i2c.h> |
33 | #include <linux/i2c-ocores.h> | 33 | #include <linux/platform_data/i2c-ocores.h> |
34 | #include <linux/i2c-xiic.h> | 34 | #include <linux/i2c-xiic.h> |
35 | 35 | ||
36 | #include <linux/spi/spi.h> | 36 | #include <linux/spi/spi.h> |
diff --git a/include/linux/i2c-ocores.h b/include/linux/platform_data/i2c-ocores.h index 01edd96fe1f7..01edd96fe1f7 100644 --- a/include/linux/i2c-ocores.h +++ b/include/linux/platform_data/i2c-ocores.h | |||