[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100421211707.GC2951@matterhorn.lan>
Date: Thu, 22 Apr 2010 00:17:07 +0300
From: Amit Kucheria <amit.kucheria@...durent.com>
To: linux@....linux.org.uk
Cc: Dinh Nguyen <Dinh.Nguyen@...escale.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Fix build error for i.MX51 (mx51_defconfig)
Russell,
Please apply the following patch to fix build failure for i.MX51 in
2.6.34-rc5.
Regards,
Amit
>From 3a30bc0788e02ba069c003d194680a2d39ef1c1a Mon Sep 17 00:00:00 2001
Message-Id: <3a30bc0788e02ba069c003d194680a2d39ef1c1a.1271883980.git.amit.kucheria@...onical.com>
From: Dinh Nguyen <Dinh.Nguyen@...escale.com>
Date: Tue, 13 Apr 2010 14:05:08 -0500
Subject: [2.6.34-fixes 1/1] mx5: Fix build error for mx51_defconfig
Need to include <asm/div64.h> for do_div calls. Fixes the following error:
arch/arm/mach-mx5/clock-mx51.c: In function 'clk_pll_get_rate':
arch/arm/mach-mx5/clock-mx51.c:149: error: implicit declaration of function
'do_div'
make[1]: *** [arch/arm/mach-mx5/clock-mx51.o] Error 1
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@...escale.com>
Signed-off-by: Amit Kucheria <amit.kucheria@...onical.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.7.0.4
--
-------------------------------------------------------------------------
Amit Kucheria, Kernel Developer, Verdurent
-------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists