pktgen: use proc_create_data()
authorAlexey Dobriyan <adobriyan@gmail.com>
Sat, 29 Aug 2009 06:34:43 +0000 (23:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 06:41:43 +0000 (23:41 -0700)
commit2975315b79f4109523b3d43932f57ed8370b9da3
tree565280baecf0e9ed69be4149d130694fe622405f
parentc3d2f52dd40b5b6c122329dac32dc0e0351f0598
pktgen: use proc_create_data()

It looks like after rename device proc entry is unusable,
because of no ->read_proc or ->proc_fops.

And create_proc_entry() is deprecated.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c