diff options
-rw-r--r-- | drivers/spi/spi-txx9.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/spi-txx9.c b/drivers/spi/spi-txx9.c index 7c6d15766c72..c67a1b866f4f 100644 --- a/drivers/spi/spi-txx9.c +++ b/drivers/spi/spi-txx9.c | |||
@@ -440,6 +440,7 @@ static int txx9spi_remove(struct platform_device *dev) | |||
440 | MODULE_ALIAS("platform:spi_txx9"); | 440 | MODULE_ALIAS("platform:spi_txx9"); |
441 | 441 | ||
442 | static struct platform_driver txx9spi_driver = { | 442 | static struct platform_driver txx9spi_driver = { |
443 | .probe = txx9spi_probe, | ||
443 | .remove = txx9spi_remove, | 444 | .remove = txx9spi_remove, |
444 | .driver = { | 445 | .driver = { |
445 | .name = "spi_txx9", | 446 | .name = "spi_txx9", |
@@ -449,7 +450,7 @@ static struct platform_driver txx9spi_driver = { | |||
449 | 450 | ||
450 | static int __init txx9spi_init(void) | 451 | static int __init txx9spi_init(void) |
451 | { | 452 | { |
452 | return platform_driver_probe(&txx9spi_driver, txx9spi_probe); | 453 | return platform_driver_register(&txx9spi_driver); |
453 | } | 454 | } |
454 | subsys_initcall(txx9spi_init); | 455 | subsys_initcall(txx9spi_init); |
455 | 456 | ||