[PATCH] arm/tegra: boards: more __init/__initdata annotations
olof at lixom.net
Tue Dec 20 12:05:44 EST 2011
On Tue, Dec 20, 2011 at 8:26 AM, Stephen Warren <swarren at nvidia.com> wrote:
> Olof Johansson wrote at Monday, December 19, 2011 9:03 PM:
>> Silence a bunch of section warnings, and mark some of the init functions as
> Is it correct to mark these as __init?
> With my recent patch "arm/tegra: Use bus notifiers to trigger pinmux
> setup", this data all gets used at pinmux/GPIO device probe time. Still,
> I suppose that does all get triggered by tegra_dt_init() which is __init,
> so if a device is guaranteed to probe as soon as a device registration
> and driver exist for it, then everything you've marked as __init really
> is guaranteed to be used then.
Ah, good point. I'll leave the functions alone until the new interface
More information about the linux-arm-kernel