dma/ste_dma40: explicitly include regulator consumer header
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Apr 2012 16:12:43 +0000 (18:12 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Mon, 23 Apr 2012 12:37:05 +0000 (18:07 +0530)
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>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/ste_dma40.c

index c5f26cc2c2774ab7bf1745dd3080d36200ae94bc..94170424ce29ec128e05e4f32ef927840e379723 100644 (file)
@@ -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>