Re: [RFC] dt: export of_have_populated_dt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 10 April 2012 10:50 PM, Rob Herring wrote:
Rob,
>  Does it make sense to use that in the driver? So far I was using that
>  only in the arch code to make the difference between the DT boot and the
>  non-DT boot.
>
>  I guess that a driver should rely on of_match_device or non-NULL
>  device_node to figure out that?
>
Agreed. of_match_device or device_node ptr check is the right approach.

Thanks Rob, I'll post a patch to fix that up.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux