aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-orion.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-orion.c')
-rw-r--r--drivers/spi/spi-orion.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/spi-orion.c b/drivers/spi/spi-orion.c
index b7e718254b1d..6a3cdc7cfeaf 100644
--- a/drivers/spi/spi-orion.c
+++ b/drivers/spi/spi-orion.c
@@ -366,7 +366,7 @@ msg_done:
366 return 0; 366 return 0;
367} 367}
368 368
369static int __init orion_spi_reset(struct orion_spi *orion_spi) 369static int orion_spi_reset(struct orion_spi *orion_spi)
370{ 370{
371 /* Verify that the CS is deasserted */ 371 /* Verify that the CS is deasserted */
372 orion_spi_set_cs(orion_spi, 0); 372 orion_spi_set_cs(orion_spi, 0);
@@ -396,7 +396,7 @@ static int orion_spi_setup(struct spi_device *spi)
396 return 0; 396 return 0;
397} 397}
398 398
399static int __init orion_spi_probe(struct platform_device *pdev) 399static int orion_spi_probe(struct platform_device *pdev)
400{ 400{
401 struct spi_master *master; 401 struct spi_master *master;
402 struct orion_spi *spi; 402 struct orion_spi *spi;
@@ -479,7 +479,7 @@ out:
479} 479}
480 480
481 481
482static int __exit orion_spi_remove(struct platform_device *pdev) 482static int orion_spi_remove(struct platform_device *pdev)
483{ 483{
484 struct spi_master *master; 484 struct spi_master *master;
485 struct resource *r; 485 struct resource *r;
@@ -513,7 +513,7 @@ static struct platform_driver orion_spi_driver = {
513 .owner = THIS_MODULE, 513 .owner = THIS_MODULE,
514 .of_match_table = of_match_ptr(orion_spi_of_match_table), 514 .of_match_table = of_match_ptr(orion_spi_of_match_table),
515 }, 515 },
516 .remove = __exit_p(orion_spi_remove), 516 .remove = orion_spi_remove,
517}; 517};
518 518
519static int __init orion_spi_init(void) 519static int __init orion_spi_init(void)