rtc: pl031: Enable module alias autogeneration for AMBA drivers
Dave Martin [Wed, 5 Oct 2011 14:15:22 +0000 (15:15 +0100)]
Signed-off-by: Dave Martin <dave.martin@linaro.org>

drivers/rtc/rtc-pl031.c

index ff1b84b..a952c8d 100644 (file)
@@ -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",