Thread (7 messages) 7 messages, 4 authors, 2011-12-20
STALE5291d

[PATCH] arm/tegra: boards: more __init/__initdata annotations

From: Stephen Warren <hidden>
Date: 2011-12-20 16:26:08
Also in: linux-tegra

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
__init.
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.

-- 
nvpublic
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help