Browse Source

rtc: pl030: Enable module alias autogeneration for AMBA drivers

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Dave Martin 13 years ago
parent
commit
66bce5916b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/rtc/rtc-pl030.c

+ 2 - 0
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",