diff options
author | Dave Gerlach <d-gerlach@ti.com> | 2018-04-11 16:15:43 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-04-18 10:07:13 -0700 |
commit | 5692fceebeb7f11c07e2a990f7711a01ae437de2 (patch) | |
tree | a7a49eef9d98f4eda7fb47bde9edeeaefc85be6b /arch/arm/mach-omap2/sleep33xx.S | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | linux-5692fceebeb7f11c07e2a990f7711a01ae437de2.tar.bz2 |
ARM: OMAP2+: Fix build when using split object directories
The sleep33xx and sleep43xx files should not depend on a header file
generated in drivers/memory. Remove this dependency and instead allow
both drivers/memory and arch/arm/mach-omap2 to generate all macros
needed in headers local to their own paths.
This fixes an issue where the build fail will when using O= to set a
split object directory and arch/arm/mach-omap2 is built before
drivers/memory with the following error:
.../drivers/memory/emif-asm-offsets.c:1:0: fatal error: can't open
drivers/memory/emif-asm-offsets.s for writing: No such file or directory
compilation terminated.
Fixes: 41d9d44d7258 ("ARM: OMAP2+: pm33xx-core: Add platform code needed for PM")
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/sleep33xx.S')
-rw-r--r-- | arch/arm/mach-omap2/sleep33xx.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/sleep33xx.S b/arch/arm/mach-omap2/sleep33xx.S index 218d79930b04..322b3bb868b4 100644 --- a/arch/arm/mach-omap2/sleep33xx.S +++ b/arch/arm/mach-omap2/sleep33xx.S @@ -6,7 +6,6 @@ * Dave Gerlach, Vaibhav Bedia */ -#include <generated/ti-emif-asm-offsets.h> #include <generated/ti-pm-asm-offsets.h> #include <linux/linkage.h> #include <linux/ti-emif-sram.h> |