On Tuesday 04 November 2008, Mike Frysinger wrote: > > If indeed OF functions don't have declarations which are > > available on all platforms, that might be worth fixing > > to enable this approach to #ifdef elimination. > > OF is open firmware right ? no way there's going to be OF for every > port that supports GPIO, so filling out the stubs in linux/of_gpio.h > will need to be done. In which case the boolean "we don't have OF" would be "false" and any code referencing the declared functions would be compiled out (being dead code/data). So there would be no link-time references to any OF routines... standard technique. -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html