From 2cd1f0ddbb5667f61e69089964209e8f716e9009 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Wed, 11 Apr 2018 18:39:29 +0200 Subject: isdn: replace ->proc_fops with ->proc_show And switch to proc_create_single_data. Signed-off-by: Christoph Hellwig --- include/linux/isdn/capilli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/isdn/capilli.h') diff --git a/include/linux/isdn/capilli.h b/include/linux/isdn/capilli.h index 11b57c4858540..d75e1ad729641 100644 --- a/include/linux/isdn/capilli.h +++ b/include/linux/isdn/capilli.h @@ -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 */ -- cgit v1.2.3