[10/16] rtc: pl031: Enable module alias autogeneration for AMBA drivers

Submitted by Dave Martin on Oct. 5, 2011, 4:05 p.m.

Details

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

Commit Message

Dave Martin Oct. 5, 2011, 4:05 p.m.
Signed-off-by: Dave Martin <dave.martin@linaro.org>
---
 drivers/rtc/rtc-pl031.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/rtc/rtc-pl031.c b/drivers/rtc/rtc-pl031.c
index ff1b84bd..a952c8d 100644
--- a/drivers/rtc/rtc-pl031.c
+++ b/drivers/rtc/rtc-pl031.c
@@ -420,6 +420,8 @@  static struct amba_id pl031_ids[] = {
 	{0, 0},
 };
 
+MODULE_DEVICE_TABLE(amba, pl031_ids);
+
 static struct amba_driver pl031_driver = {
 	.drv = {
 		.name = "rtc-pl031",