linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Fix build error for i.MX51 (mx51_defconfig)
@ 2010-04-21 21:17 Amit Kucheria
  2010-04-22 11:39 ` Sascha Hauer
  2010-05-01 10:18 ` Russell King - ARM Linux
  0 siblings, 2 replies; 4+ messages in thread
From: Amit Kucheria @ 2010-04-21 21:17 UTC (permalink / raw)
  To: linux-arm-kernel

Russell,

Please apply the following patch to fix build failure for i.MX51 in
2.6.34-rc5.

Regards,
Amit

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fix build error for i.MX51 (mx51_defconfig)
  2010-04-21 21:17 Fix build error for i.MX51 (mx51_defconfig) Amit Kucheria
@ 2010-04-22 11:39 ` Sascha Hauer
  2010-05-01 10:18 ` Russell King - ARM Linux
  1 sibling, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2010-04-22 11:39 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 22, 2010 at 12:17:07AM +0300, Amit Kucheria wrote:
> Russell,
> 
> Please apply the following patch to fix build failure for i.MX51 in
> 2.6.34-rc5.

Already queued the same patch from Dinh Nguyen.

Sascha

> 
> Regards,
> Amit
> 
> 
> From 3a30bc0788e02ba069c003d194680a2d39ef1c1a Mon Sep 17 00:00:00 2001
> Message-Id: <3a30bc0788e02ba069c003d194680a2d39ef1c1a.1271883980.git.amit.kucheria@canonical.com>
> From: Dinh Nguyen <Dinh.Nguyen@freescale.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@freescale.com>
> Signed-off-by: Amit Kucheria <amit.kucheria@canonical.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
> -------------------------------------------------------------------------
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fix build error for i.MX51 (mx51_defconfig)
  2010-04-21 21:17 Fix build error for i.MX51 (mx51_defconfig) Amit Kucheria
  2010-04-22 11:39 ` Sascha Hauer
@ 2010-05-01 10:18 ` Russell King - ARM Linux
  2010-05-03 10:28   ` Sascha Hauer
  1 sibling, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2010-05-01 10:18 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 22, 2010 at 12:17:07AM +0300, Amit Kucheria wrote:
> Please apply the following patch to fix build failure for i.MX51 in
> 2.6.34-rc5.

It would be preferable to have an acked-by from Sascha, but given this
is a build error I'll take it via the patch system; thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fix build error for i.MX51 (mx51_defconfig)
  2010-05-01 10:18 ` Russell King - ARM Linux
@ 2010-05-03 10:28   ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2010-05-03 10:28 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, May 01, 2010 at 11:18:11AM +0100, Russell King - ARM Linux wrote:
> On Thu, Apr 22, 2010 at 12:17:07AM +0300, Amit Kucheria wrote:
> > Please apply the following patch to fix build failure for i.MX51 in
> > 2.6.34-rc5.
> 
> It would be preferable to have an acked-by from Sascha, but given this
> is a build error I'll take it via the patch system; thanks.
> 

I sent the following pull request you probably missed while being
offline. It contains the same patch from Dinh Nguyen.

Sascha


The following changes since commit 2ba3abd8186f24c7fb418927025b4e2120e3a362:
  Linus Torvalds (1):
        Merge branch 'pm-fixes' of
git://git.kernel.org/.../rafael/suspend-2.6

are available in the git repository at:

  git://git.pengutronix.de/git/imx/linux-2.6.git for-rmk

Dinh Nguyen (1):
      mx5: Fix build error for mx51_defconfig

 arch/arm/mach-mx5/clock-mx51.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-03 10:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 21:17 Fix build error for i.MX51 (mx51_defconfig) Amit Kucheria
2010-04-22 11:39 ` Sascha Hauer
2010-05-01 10:18 ` Russell King - ARM Linux
2010-05-03 10:28   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).