diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/i2c-mux-gpio.h (renamed from include/linux/gpio-i2cmux.h) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/gpio-i2cmux.h b/include/linux/i2c-mux-gpio.h index 4a333bb0bd0d..a36343a37ebc 100644 --- a/include/linux/gpio-i2cmux.h +++ b/include/linux/i2c-mux-gpio.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * gpio-i2cmux interface to platform code | 2 | * i2c-mux-gpio interface to platform code |
3 | * | 3 | * |
4 | * Peter Korsgaard <peter.korsgaard@barco.com> | 4 | * Peter Korsgaard <peter.korsgaard@barco.com> |
5 | * | 5 | * |
@@ -8,14 +8,14 @@ | |||
8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef _LINUX_GPIO_I2CMUX_H | 11 | #ifndef _LINUX_I2C_MUX_GPIO_H |
12 | #define _LINUX_GPIO_I2CMUX_H | 12 | #define _LINUX_I2C_MUX_GPIO_H |
13 | 13 | ||
14 | /* MUX has no specific idle mode */ | 14 | /* MUX has no specific idle mode */ |
15 | #define GPIO_I2CMUX_NO_IDLE ((unsigned)-1) | 15 | #define I2C_MUX_GPIO_NO_IDLE ((unsigned)-1) |
16 | 16 | ||
17 | /** | 17 | /** |
18 | * struct gpio_i2cmux_platform_data - Platform-dependent data for gpio-i2cmux | 18 | * struct i2c_mux_gpio_platform_data - Platform-dependent data for i2c-mux-gpio |
19 | * @parent: Parent I2C bus adapter number | 19 | * @parent: Parent I2C bus adapter number |
20 | * @base_nr: Base I2C bus number to number adapters from or zero for dynamic | 20 | * @base_nr: Base I2C bus number to number adapters from or zero for dynamic |
21 | * @values: Array of bitmasks of GPIO settings (low/high) for each | 21 | * @values: Array of bitmasks of GPIO settings (low/high) for each |
@@ -25,7 +25,7 @@ | |||
25 | * @n_gpios: Number of GPIOs used to control MUX | 25 | * @n_gpios: Number of GPIOs used to control MUX |
26 | * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used | 26 | * @idle: Bitmask to write to MUX when idle or GPIO_I2CMUX_NO_IDLE if not used |
27 | */ | 27 | */ |
28 | struct gpio_i2cmux_platform_data { | 28 | struct i2c_mux_gpio_platform_data { |
29 | int parent; | 29 | int parent; |
30 | int base_nr; | 30 | int base_nr; |
31 | const unsigned *values; | 31 | const unsigned *values; |
@@ -35,4 +35,4 @@ struct gpio_i2cmux_platform_data { | |||
35 | unsigned idle; | 35 | unsigned idle; |
36 | }; | 36 | }; |
37 | 37 | ||
38 | #endif /* _LINUX_GPIO_I2CMUX_H */ | 38 | #endif /* _LINUX_I2C_MUX_GPIO_H */ |