Re: [RFC] dt: export of_have_populated_dt

Chris Ball
2012-04-10T16:21:50Z

Hi,

On Tue, Apr 10 2012, Cousson, Benoit wrote:
> Hi Balaji,
>
> On 4/10/2012 5: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.
>
> Is this function really called from the MMC driver?

~/git/linux % git grep of_have_populated_dt drivers/
drivers/gpio/gpio-samsung.c: if (!of_have_populated_dt())
drivers/mmc/host/omap_hsmmc.c: if (of_have_populated_dt() && !vdd)
drivers/mmc/host/omap_hsmmc.c: (!of_have_populated_dt())) {

- Chris.
--
Chris Ball <cjb-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org> <http://printf.net/>
One Laptop Per Child