X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=drivers%2Fchar%2Fhw_random%2Fn2-drv.c;h=20b962e1d83265fdb6ff8504179a7948894164fb;hb=ad2e6329666650d9cafcae9ef53fbe09ea759ae2;hp=d68a72a08b5128d9ac175b4338c6bb2aaccd018e;hpb=1ca22254b32657d65315af261ae0e699b8427fb7;p=karo-tx-linux.git diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index d68a72a08b51..20b962e1d832 100644 --- a/drivers/char/hw_random/n2-drv.c +++ b/drivers/char/hw_random/n2-drv.c @@ -611,7 +611,7 @@ static void n2rng_work(struct work_struct *work) schedule_delayed_work(&np->work, HZ * 2); } -static void __devinit n2rng_driver_version(void) +static void n2rng_driver_version(void) { static int n2rng_version_printed; @@ -620,7 +620,7 @@ static void __devinit n2rng_driver_version(void) } static const struct of_device_id n2rng_match[]; -static int __devinit n2rng_probe(struct platform_device *op) +static int n2rng_probe(struct platform_device *op) { const struct of_device_id *match; int multi_capable; @@ -767,7 +767,7 @@ static struct platform_driver n2rng_driver = { .of_match_table = n2rng_match, }, .probe = n2rng_probe, - .remove = __devexit_p(n2rng_remove), + .remove = n2rng_remove, }; module_platform_driver(n2rng_driver);