diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-15 18:41:33 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-09-21 22:00:39 +0800 |
commit | 5f8741d1bfa42b7e5443f2d2035de37bd5b73978 (patch) | |
tree | 3d08bef8dd93dff6b8c2ec9be7bd22c352613be5 /drivers/char/hw_random/pasemi-rng.c | |
parent | 05db0ad8656376e341db6120758d04c247c9cf2f (diff) | |
download | linux-5f8741d1bfa42b7e5443f2d2035de37bd5b73978.tar.gz linux-5f8741d1bfa42b7e5443f2d2035de37bd5b73978.tar.bz2 linux-5f8741d1bfa42b7e5443f2d2035de37bd5b73978.zip |
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: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/pasemi-rng.c')
-rw-r--r-- | drivers/char/hw_random/pasemi-rng.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/pasemi-rng.c b/drivers/char/hw_random/pasemi-rng.c index 51cb1d5cc489..699b7259f5d7 100644 --- a/drivers/char/hw_random/pasemi-rng.c +++ b/drivers/char/hw_random/pasemi-rng.c @@ -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 = { |