aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kobject_uevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kobject_uevent.c')
-rw-r--r--lib/kobject_uevent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 8e49d21057e4..88f4d746aa05 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -153,7 +153,8 @@ EXPORT_SYMBOL_GPL(kobject_uevent_atomic);
153 153
154static int __init kobject_uevent_init(void) 154static int __init kobject_uevent_init(void)
155{ 155{
156 uevent_sock = netlink_kernel_create(NETLINK_KOBJECT_UEVENT, NULL); 156 uevent_sock = netlink_kernel_create(NETLINK_KOBJECT_UEVENT, NULL,
157 THIS_MODULE);
157 158
158 if (!uevent_sock) { 159 if (!uevent_sock) {
159 printk(KERN_ERR 160 printk(KERN_ERR