diff mbox

[1/2] dma/ste_dma40: explicitly include regulator consumer header

Message ID 1334247163-17353-1-git-send-email-linus.walleij@stericsson.com
State Accepted
Commit 15e4b78d7338a41b020d29dab7ac13a234ebe833
Headers show

Commit Message

Linus Walleij April 12, 2012, 4:12 p.m. UTC
From: Linus Walleij <linus.walleij@linaro.org>

The patch "ARM: amba: Remove AMBA level regulator support" breaks
the DMA40 driver since the <linux/amba/bus.h> header implicitly
included the regulator consumer header. So include it explicitly
and fix the build error.

Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/dma/ste_dma40.c |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
index bdd41d4..94d760e 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -18,6 +18,7 @@ 
 #include <linux/pm_runtime.h>
 #include <linux/err.h>
 #include <linux/amba/bus.h>
+#include <linux/regulator/consumer.h>
 
 #include <plat/ste_dma40.h>