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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dinh.Nguyen
Date: Tuesday, April 13, 2010 - 12:05 pm

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

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

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2.6.34-rc4 1/1] mx5: Fix build error for mx51_defconfig, Dinh.Nguyen, (Tue Apr 13, 12:05 pm)