diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-10 18:49:30 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-11 14:12:56 +0100 |
commit | 82238d2cbd99ebd09dda48fb7c1c8802097da6a2 (patch) | |
tree | e10e4206c0cce9fb3ac3181ace5b1b8e4a16521a /include | |
parent | 90366cd60133a9f5b6a2f31360367c658585e125 (diff) | |
download | linux-stable-82238d2cbd99ebd09dda48fb7c1c8802097da6a2.tar.gz linux-stable-82238d2cbd99ebd09dda48fb7c1c8802097da6a2.tar.bz2 linux-stable-82238d2cbd99ebd09dda48fb7c1c8802097da6a2.zip |
spi: Rename SPI_MASTER_GPIO_SS to SPI_CONTROLLER_GPIO_SS
Rename SPI_MASTER_GPIO_SS to SPI_CONTROLLER_GPIO_SS and
convert the users to SPI_CONTROLLER_GPIO_SS to follow
the new naming shema.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230710154932.68377-14-andriy.shevchenko@linux.intel.com
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/spi/spi.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index becad31aeea2..39a2e6108694 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -562,8 +562,7 @@ struct spi_controller { #define SPI_CONTROLLER_NO_TX BIT(2) /* Can't do buffer write */ #define SPI_CONTROLLER_MUST_RX BIT(3) /* Requires rx */ #define SPI_CONTROLLER_MUST_TX BIT(4) /* Requires tx */ - -#define SPI_MASTER_GPIO_SS BIT(5) /* GPIO CS must select slave */ +#define SPI_CONTROLLER_GPIO_SS BIT(5) /* GPIO CS must select slave */ /* Flag indicating if the allocation of this struct is devres-managed */ bool devm_allocated; |