84ccc652b6
create_proc_entry() was deprecated and replace with proc_create_data() since it's open to a race condition where the proc entry is visible before the file operations have been set for it. The PDE() macro also is no longer available as of Linux 3.10 and is replaced with PDE_DATA() to get the data member from a proc entry. This is due to the fact that 'struct proc_dir_entry' is now private to the proc_fs. This commit changes the core of DAHDI and also introduces proc_create_data() and PDE_DATA() for older kernels. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Cc: Russ Meyerriecks <rmeyerriecks@digium.com> Cc: Oron Peled <oron.peled@xorcom.com> |
||
---|---|---|
.. | ||
dahdi |