diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-02-14 17:47:35 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-15 13:36:47 +0100 |
commit | 55ccb1a8b4c14c086427fd6b7272448fbd0c4449 (patch) | |
tree | ed6bd93dad972aed7bdafbe2b1c4be6d8df86ebb /arch/arm/mach-omap2 | |
parent | Merge tag 'omap-for-v3.9/pm-omap4-signed' of git://git.kernel.org/pub/scm/lin... (diff) | |
download | linux-55ccb1a8b4c14c086427fd6b7272448fbd0c4449.tar.xz linux-55ccb1a8b4c14c086427fd6b7272448fbd0c4449.zip |
ARM: omap2: include linux/errno.h in hwmod_reset
The newly created omap_hwmod_reset.c is missing an
include of linux/errno.h in commit c02060d8 "ARM:
OMAP4+: AESS: enable internal auto-gating during
initial setup". It still works in omap2_defconfig,
but not in all other combinations.
Without this patch, building allmodconfig results in:
arch/arm/mach-omap2/omap_hwmod_reset.c: In function 'omap_hwmod_aess_preprogram':
arch/arm/mach-omap2/omap_hwmod_reset.c:47:11: error: 'EINVAL' undeclared (first use in this function)
arch/arm/mach-omap2/omap_hwmod_reset.c:47:11: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Sebastien Guiriec <s-guiriec@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_reset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_reset.c b/arch/arm/mach-omap2/omap_hwmod_reset.c index bba43fa627d3..65e186c9df55 100644 --- a/arch/arm/mach-omap2/omap_hwmod_reset.c +++ b/arch/arm/mach-omap2/omap_hwmod_reset.c @@ -24,6 +24,7 @@ * 02110-1301 USA */ #include <linux/kernel.h> +#include <linux/errno.h> #include <sound/aess.h> |