diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cpu.h | 2 | ||||
| -rw-r--r-- | include/linux/memblk.h | 2 | ||||
| -rw-r--r-- | include/linux/node.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 7fab9f205d8f..4cbab1066761 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -27,6 +27,6 @@ struct cpu { struct sys_device sysdev; }; -extern void register_cpu(struct cpu *, int, struct node *); +extern int register_cpu(struct cpu *, int, struct node *); #endif /* _LINUX_CPU_H_ */ diff --git a/include/linux/memblk.h b/include/linux/memblk.h index a7dab1103ebe..5f216fb47907 100644 --- a/include/linux/memblk.h +++ b/include/linux/memblk.h @@ -27,6 +27,6 @@ struct memblk { struct sys_device sysdev; }; -extern void register_memblk(struct memblk *, int, struct node *); +extern int register_memblk(struct memblk *, int, struct node *); #endif /* _LINUX_MEMBLK_H_ */ 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) |
