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

Dave Martin dave.martin at linaro.org
Wed Oct 5 12:05:06 EDT 2011


Signed-off-by: Dave Martin <dave.martin at linaro.org>
---
 drivers/watchdog/sp805_wdt.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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




More information about the linux-arm-kernel mailing list