[RFC] dt: export of_have_populated_dt

Sebastian Andrzej Siewior bigeasy at linutronix.de
Wed Apr 11 03:36:15 EST 2012


On 04/10/2012 05:11 PM, Balaji T K wrote:
> If of_have_populated_dt is called from module, build fails with "allnodes"
> undefined error, so remove inline and export of_have_populated_dt.

Why do you need this function at all? You should not need it. *I*
introduced it because I need it early x86 setup code to figure out if
there a DT available or not. A driver should not care about it. You do 
have your dev.of_node and this is it.

Sebastian


More information about the devicetree-discuss mailing list