summaryrefslogtreecommitdiff
path: root/drivers/char
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
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')
-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 52e08ca3ccd7..3d3c1e6703b4 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,