Avoiding #ifdefs

David Woodhouse dwmw2 at infradead.org
Wed Jan 6 10:35:52 EST 2010


On Wed, 2010-01-06 at 09:18 -0600, Bill Gatliff wrote:
> CoDeBrEaKeR wrote:
> > the problem is we don't have machine_is_omap_3630sdp(),
> > what's available is something like machine_is_omap_3630().
> >
> > And there are diff types of boards which is why the #ifdef.
> >   
> 
> Sounds like you need your own machine identifiers.

Or a device-tree.

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation




More information about the linux-arm mailing list