]> Pileus Git - ~andy/linux/blobdiff - drivers/spi/spi-bcm2835.c
usb: ohci-at91: fix irq and iomem resource retrieval
[~andy/linux] / drivers / spi / spi-bcm2835.c
index 4c332143a3100c52d916fc9887ffd11d96356892..3ed666fe840a0cdbaf1a2a2c6cd75670dd25fb48 100644 (file)
@@ -217,7 +217,7 @@ static int bcm2835_spi_start_transfer(struct spi_device *spi,
                cs |= spi->chip_select;
        }
 
-       INIT_COMPLETION(bs->done);
+       reinit_completion(&bs->done);
        bs->tx_buf = tfr->tx_buf;
        bs->rx_buf = tfr->rx_buf;
        bs->len = tfr->len;