diff options
Diffstat (limited to 'drivers/of/base.c')
-rw-r--r-- | drivers/of/base.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index 865d3f66c86b..ced4c06d79b3 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c | |||
@@ -74,6 +74,13 @@ int of_n_size_cells(struct device_node *np) | |||
74 | } | 74 | } |
75 | EXPORT_SYMBOL(of_n_size_cells); | 75 | EXPORT_SYMBOL(of_n_size_cells); |
76 | 76 | ||
77 | #ifdef CONFIG_NUMA | ||
78 | int __weak of_node_to_nid(struct device_node *np) | ||
79 | { | ||
80 | return numa_node_id(); | ||
81 | } | ||
82 | #endif | ||
83 | |||
77 | #if defined(CONFIG_OF_DYNAMIC) | 84 | #if defined(CONFIG_OF_DYNAMIC) |
78 | /** | 85 | /** |
79 | * of_node_get - Increment refcount of a node | 86 | * of_node_get - Increment refcount of a node |