diff options
-rw-r--r-- | drivers/base/node.c | 2 | ||||
-rw-r--r-- | include/linux/node.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/base/node.c b/drivers/base/node.c index 4282e82d9f2..fffed4c96bb 100644 --- a/drivers/base/node.c +++ b/drivers/base/node.c @@ -277,7 +277,7 @@ static void node_device_release(struct device *dev) * * Initialize and register the node device. */ -int register_node(struct node *node, int num, struct node *parent) +static int register_node(struct node *node, int num, struct node *parent) { int error; diff --git a/include/linux/node.h b/include/linux/node.h index 10316f1c68a..2115ad5d6f1 100644 --- a/include/linux/node.h +++ b/include/linux/node.h @@ -30,7 +30,6 @@ struct memory_block; extern struct node *node_devices[]; typedef void (*node_registration_func_t)(struct node *); -extern int register_node(struct node *, int, struct node *); extern void unregister_node(struct node *node); #ifdef CONFIG_NUMA extern int register_one_node(int nid); |