OSDN Git Service

watchdog: sp805: Enable module alias autogeneration for AMBA drivers
authorDave Martin <dave.martin@linaro.org>
Wed, 5 Oct 2011 14:15:23 +0000 (15:15 +0100)
committerDave Martin <dave.martin@linaro.org>
Tue, 22 Nov 2011 10:58:33 +0000 (10:58 +0000)
Signed-off-by: Dave Martin <dave.martin@linaro.org>
drivers/watchdog/sp805_wdt.c

index cc2cfbe..c0a0ece 100644 (file)
@@ -359,6 +359,8 @@ static struct amba_id sp805_wdt_ids[] __initdata = {
        { 0, 0 },
 };
 
+MODULE_DEVICE_TABLE(amba, sp805_wdt_ids);
+
 static struct amba_driver sp805_wdt_driver = {
        .drv = {
                .name   = MODULE_NAME,