summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2011-10-05 15:15:22 +0100
committerDave Martin <dave.martin@linaro.org>2011-11-22 10:58:32 +0000
commitf5feac2a333b2813a78d5d8749fa0a97cb26acee (patch)
tree4ad605185f5b7dcf053d3062ea678e2266dce339 /drivers/rtc
parent66bce5916b8d4c85876e59bb1db55071baea2680 (diff)
downloadlinux-f5feac2a333b2813a78d5d8749fa0a97cb26acee.tar.gz
linux-f5feac2a333b2813a78d5d8749fa0a97cb26acee.tar.bz2
linux-f5feac2a333b2813a78d5d8749fa0a97cb26acee.zip
rtc: pl031: Enable module alias autogeneration for AMBA drivers
Signed-off-by: Dave Martin <dave.martin@linaro.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-pl031.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-pl031.c b/drivers/rtc/rtc-pl031.c
index ff1b84bd9bb5..a952c8de1dd7 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",