summaryrefslogtreecommitdiff
path: root/include/linux/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/node.h')
-rw-r--r--include/linux/node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/node.h b/include/linux/node.h
index a416b3cab960..294606bbff5a 100644
--- a/include/linux/node.h
+++ b/include/linux/node.h
@@ -26,7 +26,7 @@ struct node {
struct sys_root sysroot;
};
-extern void register_node(struct node *, int, struct node *);
+extern int register_node(struct node *, int, struct node *);
#define to_node(_root) container_of(_root, struct node, sysroot)
#define to_root(_dev) container_of(_dev, struct sys_root, dev)