diff mbox

[15/16] watchdog: sp805: Enable module alias autogeneration for AMBA drivers

Message ID 1317830707-17517-16-git-send-email-dave.martin@linaro.org
State Accepted
Commit 17885b05b31c0d310f859982d2a56f167274547e
Headers show

Commit Message

Dave Martin Oct. 5, 2011, 4:05 p.m. UTC
Signed-off-by: Dave Martin <dave.martin@linaro.org>
---
 drivers/watchdog/sp805_wdt.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/drivers/watchdog/sp805_wdt.c b/drivers/watchdog/sp805_wdt.c
index cc2cfbe..c0a0ece 100644
--- a/drivers/watchdog/sp805_wdt.c
+++ b/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,