PD#172419: found 3 section mismatches
Change-Id: I886c06b7ebd17cb463ade5bc66f82c1c09400431
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
}
#endif
-static int ramdump_probe(struct platform_device *pdev)
+static int __init ramdump_probe(struct platform_device *pdev)
{
void __iomem *p;
.of_match_table = ramdump_dt_match,
#endif
},
- .probe = ramdump_probe,
.remove = ramdump_remove,
};
{
int ret;
- ret = platform_driver_register(&ramdump_driver);
+ ret = platform_driver_probe(&ramdump_driver, ramdump_probe);
return ret;
}