spi_s3c24xx: really assign busnum
[cascardo/linux.git] / drivers / spi / spi_s3c24xx.c
index 0885cc3..1c643c9 100644 (file)
@@ -270,6 +270,7 @@ static int __init s3c24xx_spi_probe(struct platform_device *pdev)
        /* setup the master state. */
 
        master->num_chipselect = hw->pdata->num_cs;
+       master->bus_num = pdata->bus_num;
 
        /* setup the state for the bitbang driver */