1SPI_ADD_DEVICE(9)       Serial Peripheral Interface (S       SPI_ADD_DEVICE(9)
2
3
4

NAME

6       spi_add_device - Add spi_device allocated with spi_alloc_device
7

SYNOPSIS

9       int spi_add_device(struct spi_device * spi);
10

ARGUMENTS

12       spi
13           spi_device to register
14

DESCRIPTION

16       Companion function to spi_alloc_device. Devices allocated with
17       spi_alloc_device can be added onto the spi bus with this function.
18
19       Returns 0 on success; negative errno on failure
20
22Kernel Hackers Manual 3.10         June 2019                 SPI_ADD_DEVICE(9)
Impressum