Skip to content

Commit

Permalink
dma/ste_dma40: explicitly include regulator consumer header
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Walleij authored and Vinod Koul committed Apr 23, 2012
1 parent 1bdae6f commit 15e4b78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/dma/ste_dma40.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 15e4b78

Please sign in to comment.