summaryrefslogtreecommitdiffstats
path: root/drivers/memory/atmel-sdramc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/memory/atmel-sdramc.c')
-rw-r--r--drivers/memory/atmel-sdramc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/memory/atmel-sdramc.c b/drivers/memory/atmel-sdramc.c
index 12080b0..b418b39 100644
--- a/drivers/memory/atmel-sdramc.c
+++ b/drivers/memory/atmel-sdramc.c
@@ -85,8 +85,4 @@ static struct platform_driver atmel_ramc_driver = {
},
};
-static int __init atmel_ramc_init(void)
-{
- return platform_driver_register(&atmel_ramc_driver);
-}
-device_initcall(atmel_ramc_init);
+builtin_platform_driver(atmel_ramc_driver);
OpenPOWER on IntegriCloud