aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio/bpqether.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hamradio/bpqether.c')
-rw-r--r--drivers/net/hamradio/bpqether.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c
index 78a6414c5fd9..dfabbae72efd 100644
--- a/drivers/net/hamradio/bpqether.c
+++ b/drivers/net/hamradio/bpqether.c
@@ -590,8 +590,7 @@ static int bpq_device_event(struct notifier_block *this,
590static int __init bpq_init_driver(void) 590static int __init bpq_init_driver(void)
591{ 591{
592#ifdef CONFIG_PROC_FS 592#ifdef CONFIG_PROC_FS
593 if (!proc_create("bpqether", S_IRUGO, init_net.proc_net, 593 if (!proc_create("bpqether", 0444, init_net.proc_net, &bpq_info_fops)) {
594 &bpq_info_fops)) {
595 printk(KERN_ERR 594 printk(KERN_ERR
596 "bpq: cannot create /proc/net/bpqether entry.\n"); 595 "bpq: cannot create /proc/net/bpqether entry.\n");
597 return -ENOENT; 596 return -ENOENT;