[patch] linux-2.3.99pre4-3/drivers/net/wan/comx.c

From: Francois Romieu (romieu@ensta.fr)
Date: Tue Apr 04 2000 - 03:18:46 EST


  the symbols that cause compile error with CONFIG_COMX=m seem to be
obsolete.
1 - Comparing fs/proc/*.c on 2.2.15pre and 2.3.99pre, what was
previously brought by means of
new_dir->proc_iops = &proc_dir_inode_operations;
is now implicit thanks to new_dir = create_proc_entry(...
2 - struct proc_dir_entry comx_root_dir = { ... is changed into
struct proc_dir_entry * comx_root_dir and comx_root_dir = create_proc_entry(...
3 - some memcpy don't bring anything more. I just suppressed them.
4 - fill_inode disappeared from proc_dir_entry so I suppressed comx_fill_inode
(MOD_INC/DEC_USE_COUNT operations).
5 - now it compiles :o)

Patch attached.

-- 
Ueimor


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:11 EST