summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/im28wd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/im28wd.c')
-rw-r--r--drivers/watchdog/im28wd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/im28wd.c b/drivers/watchdog/im28wd.c
index 1f987deb75..ca32a729d2 100644
--- a/drivers/watchdog/im28wd.c
+++ b/drivers/watchdog/im28wd.c
@@ -142,7 +142,7 @@ static struct driver_d imx28_wd_driver = {
static int imx28_wd_init(void)
{
- register_driver(&imx28_wd_driver);
+ platform_driver_register(&imx28_wd_driver);
return 0;
}