summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap/am33xx_scrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap/am33xx_scrm.c')
-rw-r--r--arch/arm/mach-omap/am33xx_scrm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-omap/am33xx_scrm.c b/arch/arm/mach-omap/am33xx_scrm.c
index f03fb2bf6a..80510cf5b4 100644
--- a/arch/arm/mach-omap/am33xx_scrm.c
+++ b/arch/arm/mach-omap/am33xx_scrm.c
@@ -43,9 +43,4 @@ static struct driver_d am33xx_scrm_driver = {
.of_compatible = DRV_OF_COMPAT(am33xx_scrm_dt_ids),
};
-static int am33xx_scrm_init(void)
-{
- return platform_driver_register(&am33xx_scrm_driver);
-}
-
-mem_initcall(am33xx_scrm_init);
+mem_platform_driver(am33xx_scrm_driver);