X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=drivers%2Fspi%2Fspi-fsl-spi.c;h=119f7af945374f43a7e1547efbb2f5aa1d9517b0;hb=9073e1a804c3096eda84ee7cbf11d1f174236c75;hp=2129fcd1c31b6513319debe93978efd1b1c197ea;hpb=2612c49db3808f976ba12eed4170917f49693ac1;p=linux-2.6-block.git diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c index 2129fcd1c31b..119f7af94537 100644 --- a/drivers/spi/spi-fsl-spi.c +++ b/drivers/spi/spi-fsl-spi.c @@ -339,7 +339,7 @@ static int fsl_spi_bufs(struct spi_device *spi, struct spi_transfer *t, mpc8xxx_spi->tx = t->tx_buf; mpc8xxx_spi->rx = t->rx_buf; - INIT_COMPLETION(mpc8xxx_spi->done); + reinit_completion(&mpc8xxx_spi->done); if (mpc8xxx_spi->flags & SPI_CPM_MODE) ret = fsl_spi_cpm_bufs(mpc8xxx_spi, t, is_dma_mapped);