summaryrefslogtreecommitdiff
path: root/include/linux/isdn/capilli.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-11 18:39:29 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-16 07:24:30 +0200
commit2cd1f0ddbb5667f61e69089964209e8f716e9009 (patch)
tree03903b37054967d333cbefad3804c0b137ebe015 /include/linux/isdn/capilli.h
parenta2d03aac5197e708711c65718fbcadc91b5b0b06 (diff)
isdn: replace ->proc_fops with ->proc_show
And switch to proc_create_single_data. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/isdn/capilli.h')
-rw-r--r--include/linux/isdn/capilli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/isdn/capilli.h b/include/linux/isdn/capilli.h
index 11b57c485854..d75e1ad72964 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 */