Re: upstream merge schedule

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

 



On Fri, 2008-01-18 at 09:25 -0800, Tony Lindgren wrote:
> * Daniel Walker <dwalker@xxxxxxxxxx> [080118 09:05]:
> > 
> > On Fri, 2008-01-18 at 08:41 -0800, Tony Lindgren wrote:
> > > Regarding merging core omap stuff to mainline kernel, we still need
> > > to clean up few things to get arch/arm/*omap directories in sync with
> > > mainline. After currently pending patches arch/arm/mach-omap1 and
> > > plat-omap will be within one or two more main releases away from
> > > being in sync, and mach-omap2 will take a bit longer. So hopefully
> > > we'll be in sync with mainline for core omap stuff during this year.
> > 
> > Do you have a 2.6.25 queue? I found the following compile error in
> > mainline 2.6.24-rc8-git1 
> 
> Yeah, it's the omap-fixes branch.
> 
> In general, we should feed all the fixes we can during the release
> cycle, so let's get more active on that part too.

Would you consider checkpatch.pl cleanups in that catagory?

> >   CC      arch/arm/mach-omap1/board-nokia770.o
> > arch/arm/mach-omap1/board-nokia770.c:40:41: error: ../plat-omap/dsp/dsp_common.h: No such file or directory
> > arch/arm/mach-omap1/board-nokia770.c: In function ‘omap_nokia770_init’:
> > arch/arm/mach-omap1/board-nokia770.c:335: error: implicit declaration of function ‘omap_dsp_init’
> > 
> > This is with the "Nokia 770" option enabled .. If there's a fix for this
> > it might be nice to have it in 2.6.25 ..
> 
> That should be now just #include <asm/arch/dsp_common.h>.
> Can you check if that's enough to fix it? 

I tried and it needed an additional ifdef. The following patch against
mainline omap fixed it,

Signed-off-by: Daniel Walker <dwalker@xxxxxxxxxx>

diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c
index 22db19a..3ca2825 100644
--- a/arch/arm/mach-omap1/board-nokia770.c
+++ b/arch/arm/mach-omap1/board-nokia770.c
@@ -36,7 +36,7 @@
 #include <asm/arch/omapfb.h>
 #include <asm/arch/lcd_mipid.h>
 
-#include "../plat-omap/dsp/dsp_common.h"
+#include <asm/arch/dsp_common.h>
 
 #define ADS7846_PENDOWN_GPIO	15
 
@@ -331,7 +331,9 @@ static void __init omap_nokia770_init(void)
 	omap_board_config_size = ARRAY_SIZE(nokia770_config);
 	omap_gpio_init();
 	omap_serial_init();
+#ifdef CONFIG_OMAP_DSP
 	omap_dsp_init();
+#endif
 	ads7846_dev_init();
 	mipid_dev_init();
 }


-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux