diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2018-04-19 22:00:08 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-05-17 16:27:52 +0200 |
commit | 62ea22c4954f5b147488eefa644d668e843be6f7 (patch) | |
tree | 34a8a79e0cfee07467fb147a40b414ffcf1d1f71 /Documentation/i2c | |
parent | 1e9d42194e4c8f0ba3f9d4f72b5f54050ddf7a39 (diff) | |
download | linux-next-62ea22c4954f5b147488eefa644d668e843be6f7.tar.gz |
i2c: mux: gpio: 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: Peter Korsgaard <peter.korsgaard@barco.com>
Diffstat (limited to 'Documentation/i2c')
-rw-r--r-- | Documentation/i2c/muxes/i2c-mux-gpio | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/i2c/muxes/i2c-mux-gpio b/Documentation/i2c/muxes/i2c-mux-gpio index 7a8d7d261632..893ecdfe6e43 100644 --- a/Documentation/i2c/muxes/i2c-mux-gpio +++ b/Documentation/i2c/muxes/i2c-mux-gpio @@ -30,12 +30,12 @@ i2c-mux-gpio uses the platform bus, so you need to provide a struct platform_device with the platform_data pointing to a struct i2c_mux_gpio_platform_data with the I2C adapter number of the master bus, the number of bus segments to create and the GPIO pins used -to control it. See include/linux/i2c-mux-gpio.h for details. +to control it. See include/linux/platform_data/i2c-mux-gpio.h for details. E.G. something like this for a MUX providing 4 bus segments controlled through 3 GPIO pins: -#include <linux/i2c-mux-gpio.h> +#include <linux/platform_data/i2c-mux-gpio.h> #include <linux/platform_device.h> static const unsigned myboard_gpiomux_gpios[] = { |