diff options
Diffstat (limited to 'drivers/spi/spi-mpc52xx.c')
-rw-r--r-- | drivers/spi/spi-mpc52xx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/spi/spi-mpc52xx.c b/drivers/spi/spi-mpc52xx.c index 57633d963456..cb3a3830b0a5 100644 --- a/drivers/spi/spi-mpc52xx.c +++ b/drivers/spi/spi-mpc52xx.c | |||
@@ -433,7 +433,6 @@ static int __devinit mpc52xx_spi_probe(struct platform_device *op) | |||
433 | goto err_alloc; | 433 | goto err_alloc; |
434 | } | 434 | } |
435 | 435 | ||
436 | master->bus_num = -1; | ||
437 | master->setup = mpc52xx_spi_setup; | 436 | master->setup = mpc52xx_spi_setup; |
438 | master->transfer = mpc52xx_spi_transfer; | 437 | master->transfer = mpc52xx_spi_transfer; |
439 | master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; | 438 | master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST; |
@@ -479,8 +478,6 @@ static int __devinit mpc52xx_spi_probe(struct platform_device *op) | |||
479 | gpio_direction_output(gpio_cs, 1); | 478 | gpio_direction_output(gpio_cs, 1); |
480 | ms->gpio_cs[i] = gpio_cs; | 479 | ms->gpio_cs[i] = gpio_cs; |
481 | } | 480 | } |
482 | } else { | ||
483 | master->num_chipselect = 1; | ||
484 | } | 481 | } |
485 | 482 | ||
486 | spin_lock_init(&ms->lock); | 483 | spin_lock_init(&ms->lock); |