aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/mpc52xx_spi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/mpc52xx_spi.c b/drivers/spi/mpc52xx_spi.c
index 232225088bc1..64862cfda19e 100644
--- a/drivers/spi/mpc52xx_spi.c
+++ b/drivers/spi/mpc52xx_spi.c
@@ -430,6 +430,8 @@ static int __devinit mpc52xx_spi_probe(struct of_device *op,
430 master->num_chipselect = 1; 430 master->num_chipselect = 1;
431 master->setup = mpc52xx_spi_setup; 431 master->setup = mpc52xx_spi_setup;
432 master->transfer = mpc52xx_spi_transfer; 432 master->transfer = mpc52xx_spi_transfer;
433 master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST;
434
433 dev_set_drvdata(&op->dev, master); 435 dev_set_drvdata(&op->dev, master);
434 436
435 ms = spi_master_get_devdata(master); 437 ms = spi_master_get_devdata(master);