Patchwork [09/16] rtc: pl030: Enable module alias autogeneration for AMBA drivers

login
register
mail settings
Submitter Dave Martin
Date Oct. 5, 2011, 4:05 p.m.
Message ID <1317830707-17517-10-git-send-email-dave.martin@linaro.org>
Download mbox | patch
Permalink /patch/117886/
State New
Headers show

Comments

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

Patch

diff --git a/drivers/rtc/rtc-pl030.c b/drivers/rtc/rtc-pl030.c
index 1d28d44..02111fe 100644
--- a/drivers/rtc/rtc-pl030.c
+++ b/drivers/rtc/rtc-pl030.c
@@ -174,6 +174,8 @@  static struct amba_id pl030_ids[] = {
 	{ 0, 0 },
 };
 
+MODULE_DEVICE_TABLE(amba, pl030_ids);
+
 static struct amba_driver pl030_driver = {
 	.drv		= {
 		.name	= "rtc-pl030",