summaryrefslogtreecommitdiffstats
path: root/drivers/video/s3c24xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/s3c24xx.c')
-rw-r--r--drivers/video/s3c24xx.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/video/s3c24xx.c b/drivers/video/s3c24xx.c
index 6dd49e249b..d641cfaa27 100644
--- a/drivers/video/s3c24xx.c
+++ b/drivers/video/s3c24xx.c
@@ -406,13 +406,7 @@ static struct driver_d s3cfb_driver = {
.info = s3cfb_info,
#endif
};
-
-static int s3cfb_init(void)
-{
- return platform_driver_register(&s3cfb_driver);
-}
-
-device_initcall(s3cfb_init);
+device_platform_driver(s3cfb_driver);
/**
* The S3C244x LCD controller supports passive (CSTN/STN) and active (TFT) LC displays