diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/spi/spi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 77add901691d..e928c0dcc297 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h | |||
@@ -172,13 +172,13 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv) | |||
172 | struct spi_master { | 172 | struct spi_master { |
173 | struct class_device cdev; | 173 | struct class_device cdev; |
174 | 174 | ||
175 | /* other than zero (== assign one dynamically), bus_num is fully | 175 | /* other than negative (== assign one dynamically), bus_num is fully |
176 | * board-specific. usually that simplifies to being SOC-specific. | 176 | * board-specific. usually that simplifies to being SOC-specific. |
177 | * example: one SOC has three SPI controllers, numbered 1..3, | 177 | * example: one SOC has three SPI controllers, numbered 0..2, |
178 | * and one board's schematics might show it using SPI-2. software | 178 | * and one board's schematics might show it using SPI-2. software |
179 | * would normally use bus_num=2 for that controller. | 179 | * would normally use bus_num=2 for that controller. |
180 | */ | 180 | */ |
181 | u16 bus_num; | 181 | s16 bus_num; |
182 | 182 | ||
183 | /* chipselects will be integral to many controllers; some others | 183 | /* chipselects will be integral to many controllers; some others |
184 | * might use board-specific GPIOs. | 184 | * might use board-specific GPIOs. |