compile error in cpu-tegra.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
    
Signed-off-by: Marc Dietrich <marvin24@xxxxxx>

diff --git a/arch/arm/mach-tegra/cpu-tegra.c b/arch/arm/mach-tegra/cpu-tegra.c
index 0e1016a..0e0fd4d 100644
--- a/arch/arm/mach-tegra/cpu-tegra.c
+++ b/arch/arm/mach-tegra/cpu-tegra.c
@@ -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 */
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux