Patchwork [15/18] rtc: pl031: Enable module alias autogeneration for AMBA drivers

login
register
mail settings
Submitter Ike Panhc
Date May 17, 2012, 6:46 a.m.
Message ID <1337237190-3815-1-git-send-email-ike.pan@canonical.com>
Download mbox | patch
Permalink /patch/159835/
State New
Headers show

Comments

Ike Panhc - May 17, 2012, 6:46 a.m.
From: Dave Martin <dave.martin@linaro.org>

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
---
 drivers/rtc/rtc-pl031.c |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/drivers/rtc/rtc-pl031.c b/drivers/rtc/rtc-pl031.c
index ff1b84b..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",