aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi_s3c24xx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/spi/spi_s3c24xx.c b/drivers/spi/spi_s3c24xx.c
index 80719ef54365..b7476b888197 100644
--- a/drivers/spi/spi_s3c24xx.c
+++ b/drivers/spi/spi_s3c24xx.c
@@ -267,6 +267,10 @@ static int __init s3c24xx_spi_probe(struct platform_device *pdev)
267 platform_set_drvdata(pdev, hw); 267 platform_set_drvdata(pdev, hw);
268 init_completion(&hw->done); 268 init_completion(&hw->done);
269 269
270 /* setup the master state. */
271
272 master->num_chipselect = hw->pdata->num_cs;
273
270 /* setup the state for the bitbang driver */ 274 /* setup the state for the bitbang driver */
271 275
272 hw->bitbang.master = hw->master; 276 hw->bitbang.master = hw->master;