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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/node.h b/include/linux/node.h
index 90543a94b86e..d1c28e6a0b18 100644
--- a/include/linux/node.h
+++ b/include/linux/node.h
@@ -28,7 +28,6 @@ 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)
+#define to_node(sys_device) container_of(sys_device, struct node, sysdev)
#endif /* _LINUX_NODE_H_ */