Query: spi_add_device
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SPI_ADD_DEVICE(9) Serial Peripheral Interface (S SPI_ADD_DEVICE(9)NAMEspi_add_device - Add spi_device allocated with spi_alloc_deviceSYNOPSISint spi_add_device(struct spi_device * spi);ARGUMENTSspi spi_device to registerDESCRIPTIONCompanion function to spi_alloc_device. Devices allocated with spi_alloc_device can be added onto the spi bus with this function. Returns 0 on success; negative errno on failureCOPYRIGHTKernel Hackers Manual 2.6. July 2010 SPI_ADD_DEVICE(9)