aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/spi-s3c64xx.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index 512b8893893b..20dd71237d3b 100644
--- a/drivers/spi/spi-s3c64xx.c
+++ b/drivers/spi/spi-s3c64xx.c
@@ -1633,22 +1633,13 @@ static struct platform_driver s3c64xx_spi_driver = {
1633 .pm = &s3c64xx_spi_pm, 1633 .pm = &s3c64xx_spi_pm,
1634 .of_match_table = of_match_ptr(s3c64xx_spi_dt_match), 1634 .of_match_table = of_match_ptr(s3c64xx_spi_dt_match),
1635 }, 1635 },
1636 .probe = s3c64xx_spi_probe,
1636 .remove = s3c64xx_spi_remove, 1637 .remove = s3c64xx_spi_remove,
1637 .id_table = s3c64xx_spi_driver_ids, 1638 .id_table = s3c64xx_spi_driver_ids,
1638}; 1639};
1639MODULE_ALIAS("platform:s3c64xx-spi"); 1640MODULE_ALIAS("platform:s3c64xx-spi");
1640 1641
1641static int __init s3c64xx_spi_init(void) 1642module_platform_driver(s3c64xx_spi_driver);
1642{
1643 return platform_driver_probe(&s3c64xx_spi_driver, s3c64xx_spi_probe);
1644}
1645subsys_initcall(s3c64xx_spi_init);
1646
1647static void __exit s3c64xx_spi_exit(void)
1648{
1649 platform_driver_unregister(&s3c64xx_spi_driver);
1650}
1651module_exit(s3c64xx_spi_exit);
1652 1643
1653MODULE_AUTHOR("Jaswinder Singh <jassi.brar@samsung.com>"); 1644MODULE_AUTHOR("Jaswinder Singh <jassi.brar@samsung.com>");
1654MODULE_DESCRIPTION("S3C64XX SPI Controller Driver"); 1645MODULE_DESCRIPTION("S3C64XX SPI Controller Driver");