Browse Source

rtc: pl031: Enable module alias autogeneration for AMBA drivers

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

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