Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f8741d1 authored by Luis de Bethencourt's avatar Luis de Bethencourt Committed by Herbert Xu
Browse files

hwrng: Fix module autoload for OF platform drivers



This platform drivers have a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: default avatarLuis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 05db0ad8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -138,6 +138,7 @@ static const struct of_device_id rng_match[] = {
	{ .compatible      = "pasemi,pwrficient-rng", },
	{ },
};
MODULE_DEVICE_TABLE(of, rng_match);

static struct platform_driver rng_driver = {
	.driver = {
+1 −0
Original line number Diff line number Diff line
@@ -129,6 +129,7 @@ static const struct of_device_id ppc4xx_rng_match[] = {
	{ .compatible = "amcc,ppc440epx-rng", },
	{},
};
MODULE_DEVICE_TABLE(of, ppc4xx_rng_match);

static struct platform_driver ppc4xx_rng_driver = {
	.driver = {