summaryrefslogtreecommitdiff
path: root/drivers/base/node.c
diff options
context:
space:
mode:
authorRandy Dunlap <rddunlap@osdl.org>2004-02-18 21:09:14 -0800
committerStephen Hemminger <shemminger@osdl.org>2004-02-18 21:09:14 -0800
commit117ace2604ec35f03c6a7b356061eab4a4e45623 (patch)
tree4a2773a3bb5bf08fac9d93b06ae04afd39780dd4 /drivers/base/node.c
parent70b1932013a6380f35d4d84d1b39e64616b15c1d (diff)
[PATCH] sys_device_[un]register() are not syscalls
sys_xyz() names in Linux are all syscalls... except for sys_device_register() and sys_device_unregister(). This patch renames them so that the sys_ namespace is once again used only by syscalls.
Diffstat (limited to 'drivers/base/node.c')
-rw-r--r--drivers/base/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/node.c b/drivers/base/node.c
index e161a1c21dbf..a35701c4a039 100644
--- a/drivers/base/node.c
+++ b/drivers/base/node.c
@@ -69,7 +69,7 @@ int __init register_node(struct node *node, int num, struct node *parent)
node->cpumap = node_to_cpumask(num);
node->sysdev.id = num;
node->sysdev.cls = &node_class;
- error = sys_device_register(&node->sysdev);
+ error = sysdev_register(&node->sysdev);
if (!error){
sysdev_create_file(&node->sysdev, &attr_cpumap);