diff options
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/kpc2000/kpc_spi/spi_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/kpc2000/kpc_spi/spi_driver.c b/drivers/staging/kpc2000/kpc_spi/spi_driver.c index e77f04bf02d9..c0999e080577 100644 --- a/drivers/staging/kpc2000/kpc_spi/spi_driver.c +++ b/drivers/staging/kpc2000/kpc_spi/spi_driver.c @@ -408,7 +408,7 @@ static int kp_spi_probe(struct platform_device *pldev) { struct kpc_core_device_platdata *drvdata; - struct spi_master *master = spi_alloc_master(&pldev->dev, sizeof(struct kp_spi)); + struct spi_master *master; struct kp_spi *kpspi; struct resource *r; int status = 0; |