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 cc2cfbe33b30d441a2ef6449d2babe0b1eb43a3d..c0a0ecec4d0cab7333e2a06feb52e5d0083cf868 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,