summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2011-10-05 16:15:20 +0200
committerDave Martin <dave.martin@linaro.org>2011-11-22 11:58:30 +0100
commit4e3f3d53b8b5d597e36c075e01014e9019a44d55 (patch)
tree34c1677272898f9c26c0ae5a62b5be7e300e5e50 /drivers/char
parentARM: amba: Auto-generate AMBA driver module aliases during modpost (diff)
downloadlinux-4e3f3d53b8b5d597e36c075e01014e9019a44d55.tar.xz
linux-4e3f3d53b8b5d597e36c075e01014e9019a44d55.zip
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,