X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?p=linux-2.6-omap-h63xx.git;a=blobdiff_plain;f=drivers%2Fchar%2Fhw_random%2Fomap-rng.c;fp=drivers%2Fchar%2Fhw_random%2Fomap-rng.c;h=de201faa9df71640998b83500f07e190f5e1b97f;hp=538313f9e7ac6f8b45731b6ee49be2e8af0e0f8a;hb=b934c987ee1764eb09b8843a3ee00eabc24bd52c;hpb=14fc69723d3442ef46f8f82b3f481e82f06a346d diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c index 538313f9e7a..de201faa9df 100644 --- a/drivers/char/hw_random/omap-rng.c +++ b/drivers/char/hw_random/omap-rng.c @@ -205,7 +205,6 @@ static struct platform_driver omap_rng_driver = { .name = "omap_rng", .owner = THIS_MODULE, }, - .probe = omap_rng_probe, .remove = __exit_p(omap_rng_remove), .suspend = omap_rng_suspend, .resume = omap_rng_resume @@ -216,7 +215,7 @@ static int __init omap_rng_init(void) if (!cpu_is_omap16xx() && !cpu_is_omap24xx()) return -ENODEV; - return platform_driver_register(&omap_rng_driver); + return platform_driver_probe(&omap_rng_driver, omap_rng_probe); } static void __exit omap_rng_exit(void)