On Tue, 23 Aug 2011, Venkatraman S wrote:

> From: Venkatraman S <ven...@linaro.org>
> 
> Do not depend on the generic irq header file to include the platform
> specific header file.
> 
> Signed-off-by: Venkatraman S <ven...@linaro.org>

This is wrong.

Obviously we don't want the generic <asm/irq.h> to include <mach/irqs.h> 
anymore, however we also want to get rid of any references to <mach/*.h> 
_outside_ of the machine specific directory too.

>  drivers/video/omap/lcdc.c  |    1 +
>  drivers/video/omap/sossi.c |    1 +

In this case the needed definitions are presumably only useful to those 
drivers, in which case they probably should be moved into those drivers 
directly, or better yet passed into struct resource instances.


Nicolas

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to