of_match_table on non-DT builds

Rob Herring robherring2 at gmail.com
Wed Nov 10 02:27:10 EST 2010


Grant,

With the of_match_table pointer only enabled with CONFIG_OF in struct 
device_driver, all drivers will have to have #ifdefs around their 
of_match_table if you want to build them for non-devicetree platforms. 
This is just the tip of the iceberg as all probe related OF calls have 
to be ifdef'ed. Is this the intention?

Rob


More information about the devicetree-discuss mailing list