aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/spi-ath79.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/spi/spi-ath79.c b/drivers/spi/spi-ath79.c
index 842acd8983e6..e504b7636058 100644
--- a/drivers/spi/spi-ath79.c
+++ b/drivers/spi/spi-ath79.c
@@ -308,9 +308,15 @@ static int ath79_spi_remove(struct platform_device *pdev)
308 return 0; 308 return 0;
309} 309}
310 310
311static void ath79_spi_shutdown(struct platform_device *pdev)
312{
313 ath79_spi_remove(pdev);
314}
315
311static struct platform_driver ath79_spi_driver = { 316static struct platform_driver ath79_spi_driver = {
312 .probe = ath79_spi_probe, 317 .probe = ath79_spi_probe,
313 .remove = ath79_spi_remove, 318 .remove = ath79_spi_remove,
319 .shutdown = ath79_spi_shutdown,
314 .driver = { 320 .driver = {
315 .name = DRV_NAME, 321 .name = DRV_NAME,
316 .owner = THIS_MODULE, 322 .owner = THIS_MODULE,