aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector/connector.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/connector/connector.c')
-rw-r--r--drivers/connector/connector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c
index 7b695913cb30..ed17a57ab3cb 100644
--- a/drivers/connector/connector.c
+++ b/drivers/connector/connector.c
@@ -276,7 +276,7 @@ static int cn_init(void)
276 276
277 cn_already_initialized = 1; 277 cn_already_initialized = 1;
278 278
279 proc_net_fops_create(&init_net, "connector", S_IRUGO, &cn_file_ops); 279 proc_create("connector", S_IRUGO, init_net.proc_net, &cn_file_ops);
280 280
281 return 0; 281 return 0;
282} 282}