diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/davinci_spi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 1652bba955e2..2ec5fd2f2e7b 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c | |||
@@ -1001,7 +1001,10 @@ static int __exit davinci_spi_remove(struct platform_device *pdev) | |||
1001 | } | 1001 | } |
1002 | 1002 | ||
1003 | static struct platform_driver davinci_spi_driver = { | 1003 | static struct platform_driver davinci_spi_driver = { |
1004 | .driver.name = "spi_davinci", | 1004 | .driver = { |
1005 | .name = "spi_davinci", | ||
1006 | .owner = THIS_MODULE, | ||
1007 | }, | ||
1005 | .remove = __exit_p(davinci_spi_remove), | 1008 | .remove = __exit_p(davinci_spi_remove), |
1006 | }; | 1009 | }; |
1007 | 1010 | ||