diff mbox

[03/16] hwrng: nomadik: Enable module alias autogeneration for AMBA drivers

Message ID 1317830707-17517-4-git-send-email-dave.martin@linaro.org
State Accepted
Commit 4e3f3d53b8b5d597e36c075e01014e9019a44d55
Headers show

Commit Message

Dave Martin Oct. 5, 2011, 4:04 p.m. UTC
Signed-off-by: Dave Martin <dave.martin@linaro.org>
---
 drivers/char/hw_random/nomadik-rng.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/drivers/char/hw_random/nomadik-rng.c b/drivers/char/hw_random/nomadik-rng.c
index 52e08ca..3d3c1e6 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,