On 12/16/2011 9:47 AM, Tomi Valkeinen wrote:
On Fri, 2011-12-16 at 01:27 -0700, Paul Walmsley wrote:
On Fri, 16 Dec 2011, Tomi Valkeinen wrote:
But with DT we can't use func pointers in platform_data either, right?
In the future, if someone wants to run a platform_data-less kernel,
they'll have to come up with a replacement mechanism for these. Several
replacements have been proposed internally, such as having an
omap_bus/omap_device for devices with OMAP-specific integration, but right
now there are more pressing crises to deal with...
Ok. Benoit was telling me not to use pdata, so I thought it's a hard
rule for DT. He didn't give me a clear alternative, though =).
Well, it is a hard requirement for DT...
So we'd better find alternative now, than introducing code we will have
to remove later for my point of view.
But I guess it is up to you to decide the best strategy here...
I'm sorry if the DT community did not provide any better guidelines to
replace that :-(
There are a bunch of arch that does not have any pdev/pdata, so some
alternative should exist... I hope :-)
Regards,
Benoit
--
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