[IRDA]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Fri, 29 Feb 2008 18:34:45 +0000 (10:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 18:34:45 +0000 (10:34 -0800)
commit5e47879f493e14a017d1facefc601f43c477dbee
tree268397e6e7af11d05d929bdf10306fa16701e279
parent0bc8c7bf9e7440500fe04f95d6cddc58ea023cd2
[IRDA]: Use proc_create() to setup ->proc_fops first

Use proc_create() to make sure that ->proc_fops be setup before gluing
PDE to main tree.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/ircomm/ircomm_core.c
net/irda/irlan/irlan_common.c
net/irda/irproc.c