Browse Source

watchdog: sp805: Enable module alias autogeneration for AMBA drivers

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

+ 2 - 0
drivers/watchdog/sp805_wdt.c

@@ -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,