diff options
author | Grant Likely <[email protected]> | 2014-07-15 23:25:43 -0600 |
---|---|---|
committer | Grant Likely <[email protected]> | 2014-07-23 17:05:46 -0600 |
commit | a25095d451ece23b1fef34474f3230100db7aa05 (patch) | |
tree | 1144ef8101664c7242e27d62b179ec7d9438cefb /net/lapb/lapb_subr.c | |
parent | 6162dbe49a451f96431a23b4821f05e3bd925bc1 (diff) |
of: Move dynamic node fixups out of powerpc and into common code
PowerPC does an odd thing with dynamic nodes. It uses a notifier to
catch new node additions and set some of the values like name and type.
This makes no sense since that same code can be put directly into
of_attach_node(). Besides, all dynamic node users need this, not just
powerpc. Fix this problem by moving the logic out of arch/powerpc and
into drivers/of/dynamic.c.
It is also important to remove this notifier because we want to move the
firing of notifiers from before the tree is modified to after so that
the receiver gets a consistent view of the tree, but that is
incompatible with notifiers that modify the node.
Signed-off-by: Grant Likely <[email protected]>
Cc: Nathan Fontenot <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions