isdn: replace ->proc_fops with ->proc_show
And switch to proc_create_single_data. Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -50,7 +50,7 @@ struct capi_ctr {
|
||||
u16 (*send_message)(struct capi_ctr *, struct sk_buff *skb);
|
||||
|
||||
char *(*procinfo)(struct capi_ctr *);
|
||||
const struct file_operations *proc_fops;
|
||||
int (*proc_show)(struct seq_file *, void *);
|
||||
|
||||
/* filled in before calling ready callback */
|
||||
u8 manu[CAPI_MANUFACTURER_LEN]; /* CAPI_GET_MANUFACTURER */
|
||||
|
Reference in New Issue
Block a user