diff --git a/include/spi/spi.h b/include/spi/spi.h index d6570a4..fa76e9b 100644 --- a/include/spi/spi.h +++ b/include/spi/spi.h @@ -342,6 +342,8 @@ int spi_sync(struct spi_device *spi, struct spi_message *message); +struct spi_device *spi_new_device(struct spi_master *master, + struct spi_board_info *chip); int spi_register_master(struct spi_master *master); #ifdef CONFIG_SPI