Skip to contentSkip to conversation

compile error in cpu-tegra.c

PATCH Marc Dietrich 1 participant 1 message Oct 4, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi,

today I tried linux-next and arm-soc tree (which is to be merged to linux-next soon). Both trees fail to compile with this error:

arch/arm/mach-tegra/cpu-tegra.c:35:27: error: mach/hardware.h: No such file or directory
make[1]: *** [arch/arm/mach-tegra/cpu-tegra.o] Error 1
make: *** [arch/arm/mach-tegra] Error 2

I think the problem was introduced by commmit c9d95fbe. If this is already fixed somewhere, just ignore this message. Otherwise the patch below should fix it:

----

ARM: tegra: fix compilation error due to mach/hardware.h removal

This fixes a compilation error in cpu-tegra.c which was introduced in commit dc8d966bccde0b8b6c9e8c6e663c747030c17435 which removed the now obsolete mach/hardware.h from the mach-tegra subtree.

arch/arm/mach-tegra/cpu-tegra.c +0 -1
index 0e1016a..0e0fd4d 100644
@@ -32,7 +32,6 @@
 
 #include <asm/system.h>
 
-#include <mach/hardware.h>
 #include <mach/clk.h>
 
 /* Frequency table index must be sequential starting at 0 */