summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2011-10-05 15:15:20 +0100
committerDave Martin <dave.martin@linaro.org>2011-11-22 10:58:30 +0000
commit4e3f3d53b8b5d597e36c075e01014e9019a44d55 (patch)
tree34c1677272898f9c26c0ae5a62b5be7e300e5e50 /drivers/char/hw_random
parent523817bd22617cd62199ae4ca2a6f5e1aa250654 (diff)
hwrng: nomadik: Enable module alias autogeneration for AMBA drivers
Signed-off-by: Dave Martin <dave.martin@linaro.org>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r--drivers/char/hw_random/nomadik-rng.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/hw_random/nomadik-rng.c b/drivers/char/hw_random/nomadik-rng.c
index 52e08ca3ccd..3d3c1e6703b 100644
--- a/drivers/char/hw_random/nomadik-rng.c
+++ b/drivers/char/hw_random/nomadik-rng.c
@@ -95,6 +95,8 @@ static struct amba_id nmk_rng_ids[] = {
{0, 0},
};
+MODULE_DEVICE_TABLE(amba, nmk_rng_ids);
+
static struct amba_driver nmk_rng_driver = {
.drv = {
.owner = THIS_MODULE,