diff options
author | David S. Miller <davem@davemloft.net> | 2008-03-05 21:26:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-05 21:26:41 +0100 |
commit | 255333c1db3ec63921de29b134418a4e56e5921e (patch) | |
tree | b1cd99373cabfa6fed020496d4d74500e7bc7e92 /net/irda/irlan/irlan_common.c | |
parent | [NETNS][IPV6] icmp6 - make icmpv6_socket per namespace (diff) | |
parent | make s2io.c:init_tti() static (diff) | |
download | linux-255333c1db3ec63921de29b134418a4e56e5921e.tar.xz linux-255333c1db3ec63921de29b134418a4e56e5921e.zip |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
net/mac80211/rc80211_pid_algo.c
Diffstat (limited to 'net/irda/irlan/irlan_common.c')
-rw-r--r-- | net/irda/irlan/irlan_common.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/irda/irlan/irlan_common.c b/net/irda/irlan/irlan_common.c index a4b56e25a917..1eb4bbcb1c9e 100644 --- a/net/irda/irlan/irlan_common.c +++ b/net/irda/irlan/irlan_common.c @@ -128,13 +128,11 @@ static int __init irlan_init(void) #ifdef CONFIG_PROC_FS { struct proc_dir_entry *proc; - proc = create_proc_entry("irlan", 0, proc_irda); + proc = proc_create("irlan", 0, proc_irda, &irlan_fops); if (!proc) { printk(KERN_ERR "irlan_init: can't create /proc entry!\n"); return -ENODEV; } - - proc->proc_fops = &irlan_fops; } #endif /* CONFIG_PROC_FS */ |