X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fspi%2Fspi.c;h=1bb1b88780cefc4cd69e88e15d4e1f5413c55d1e;hb=90e0c225968f0878e090c7ff3f88323973476cee;hp=b3a1f9259b62539d6f2b3bd4c2a501f93c337cee;hpb=1f73897861b8ef0be64ff4b801f8d6f830f683b5;p=pandora-kernel.git diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index b3a1f9259b62..1bb1b88780ce 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -26,6 +26,7 @@ #include #include #include +#include /* SPI bustype and spi_master class are registered after board init code @@ -540,6 +541,9 @@ int spi_register_master(struct spi_master *master) /* populate children from any spi device tables */ scan_boardinfo(master); status = 0; + + /* Register devices from the device tree */ + of_register_spi_devices(master); done: return status; }