[PATCH 2.6.34-rc4 1/1] mx5: Fix build error for mx51_defconfig

Dinh.Nguyen at freescale.com Dinh.Nguyen at freescale.com
Tue Apr 13 15:05:08 EDT 2010


From: Dinh Nguyen <Dinh.Nguyen at freescale.com>

Need to include <asm/div64.h> for do_div calls.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen at freescale.com>
---
 arch/arm/mach-mx5/clock-mx51.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-mx5/clock-mx51.c b/arch/arm/mach-mx5/clock-mx51.c
index 8f85f73..1ee6ce4 100644
--- a/arch/arm/mach-mx5/clock-mx51.c
+++ b/arch/arm/mach-mx5/clock-mx51.c
@@ -16,6 +16,7 @@
 #include <linux/io.h>
 
 #include <asm/clkdev.h>
+#include <asm/div64.h>
 
 #include <mach/hardware.h>
 #include <mach/common.h>
-- 
1.6.0.4




More information about the linux-arm-kernel mailing list