Name

__spi_register_driver — register a SPI driver

Synopsis

int __spi_register_driver (struct module * owner,
 struct spi_driver * sdrv);
 

Arguments

owner

owner module of the driver to register

sdrv

the driver to register

Context

can sleep

Return

zero on success, else a negative error code.