History

spi: update the structure documentation

some members were not described in documentation.

Qiujun Huang committed 6 years ago

Commit 7a86a411 parent f3a14a31 file · +3 −0Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/spi/spi.h+3−0
@@ -135,6 +135,8 @@ extern int spi_delay_exec(struct spi_delay *_delay, struct spi_transfer *xfer); · 134 unmodified lines
135 * @modalias: Name of the driver to use with this device, or an alias135 * @modalias: Name of the driver to use with this device, or an alias
136 * for that name. This appears in the sysfs "modalias" attribute136 * for that name. This appears in the sysfs "modalias" attribute
137 * for driver coldplugging, and in uevents used for hotplugging137 * for driver coldplugging, and in uevents used for hotplugging
138 * @driver_override: If the name of a driver is written to this attribute, then
139 * the device will bind to the named driver and only the named driver.
138 * @cs_gpio: LEGACY: gpio number of the chipselect line (optional, -ENOENT when140 * @cs_gpio: LEGACY: gpio number of the chipselect line (optional, -ENOENT when
139 * not using a GPIO line) use cs_gpiod in new drivers by opting in on141 * not using a GPIO line) use cs_gpiod in new drivers by opting in on
140 * the spi_master.142 * the spi_master.
@@ -443,6 +445,7 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv) · 302 unmodified lines
443 * @spi_transfer->ptp_sts_word_post were transmitted.445 * @spi_transfer->ptp_sts_word_post were transmitted.
444 * If the driver does not set this, the SPI core takes the snapshot as446 * If the driver does not set this, the SPI core takes the snapshot as
445 * close to the driver hand-over as possible.447 * close to the driver hand-over as possible.
448 * @irq_flags: Interrupt enable state during PTP system timestamping
446 *449 *
447 * Each SPI controller can communicate with one or more @spi_device450 * Each SPI controller can communicate with one or more @spi_device
448 * children. These make a small bus, sharing MOSI, MISO and SCK signals451 * children. These make a small bus, sharing MOSI, MISO and SCK signals

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t