diff options
author | Jeremy Kerr <jeremy.kerr@canonical.com> | 2010-02-01 21:34:14 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-02-09 08:34:10 -0700 |
commit | 8cfb3343f70bcf9403218df120ecf345f06dd585 (patch) | |
tree | 59fc53d15ab487d26ee14ed5c62648b93c9d894f /include/linux/of.h | |
parent | a9f2f63a671d5e91ed89ade408d87f1692a373de (diff) |
of: make set_node_proc_entry private to proc_devtree.c
We only need set_node_proc_entry in proc_devtree.c, so move it there.
This fixes the !HAVE_ARCH_DEVTREE_FIXUPS build, as we can't make make
the definition in linux/of.h conditional on this #define (definitions in
asm/prom.h can't be exposed to linux/of.h, due to the enforced #include
ordering).
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index 3cc0d7ae290..fd47c81d7a2 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -73,12 +73,6 @@ static inline void of_node_set_flag(struct device_node *n, unsigned long flag) set_bit(flag, &n->_flags); } -static inline void -set_node_proc_entry(struct device_node *dn, struct proc_dir_entry *de) -{ - dn->pde = de; -} - extern struct device_node *of_find_all_nodes(struct device_node *prev); #if defined(CONFIG_SPARC) |