[RFC PATCH 01/10] rtc: sa1100: include mach/irqs.h instead of asm/irq.h

Nicolas Pitre nico at fluxnic.net
Fri Jan 13 18:51:21 EST 2012


On Fri, 13 Jan 2012, Rob Herring wrote:

> On 01/13/2012 02:46 PM, Nicolas Pitre wrote:
> > Another problem that resources solve (and your original patch didn't 
> > make it any better nor worse) has to do with include file search paths.  
> > Once we start building more than one SOC in the kernel, we won't be able 
> > to support the inclusion of <mach/whatever.h> from driver code anymore 
> > since this could refer to more than one instances of 
> > arch/arm/mach-*/include/mach/whatever.h.
> 
> I'm fully aware of this issue and was not trying to solve that here.

I know you are aware (maybe I should have mentioned it explicitly).
This comment was more for the wider audience.


Nicolas



More information about the linux-arm-kernel mailing list