Patchwork [16/18] dmaengine: pl330: Enable module alias autogeneration for AMBA drivers

login
register
mail settings
Submitter Ike Panhc
Date May 17, 2012, 6:46 a.m.
Message ID <1337237200-3850-1-git-send-email-ike.pan@canonical.com>
Download mbox | patch
Permalink /patch/159836/
State New
Headers show

Comments

Ike Panhc - May 17, 2012, 6:46 a.m.
From: Dave Martin <dave.martin@linaro.org>

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
(cherry picked from commit e8fa516a4231682204d646df01c7bf3f0cfe4893)

Signed-off-by: Ike Panhc <ike.pan@canonical.com>
---
 drivers/dma/pl330.c |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index 57104147..2d8d1b0 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -990,6 +990,8 @@  static struct amba_id pl330_ids[] = {
 	{ 0, 0 },
 };
 
+MODULE_DEVICE_TABLE(amba, pl330_ids);
+
 #ifdef CONFIG_PM_RUNTIME
 static int pl330_runtime_suspend(struct device *dev)
 {