diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-11 18:39:29 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-16 07:24:30 +0200 |
commit | 2cd1f0ddbb5667f61e69089964209e8f716e9009 (patch) | |
tree | 03903b37054967d333cbefad3804c0b137ebe015 /drivers/isdn/capi/kcapi.c | |
parent | a2d03aac5197e708711c65718fbcadc91b5b0b06 (diff) | |
download | linux-2cd1f0ddbb5667f61e69089964209e8f716e9009.tar.gz linux-2cd1f0ddbb5667f61e69089964209e8f716e9009.tar.bz2 linux-2cd1f0ddbb5667f61e69089964209e8f716e9009.zip |
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 'drivers/isdn/capi/kcapi.c')
-rw-r--r-- | drivers/isdn/capi/kcapi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/capi/kcapi.c b/drivers/isdn/capi/kcapi.c index 46c189ad8d94..0ff517d3c98f 100644 --- a/drivers/isdn/capi/kcapi.c +++ b/drivers/isdn/capi/kcapi.c @@ -534,7 +534,8 @@ int attach_capi_ctr(struct capi_ctr *ctr) init_waitqueue_head(&ctr->state_wait_queue); sprintf(ctr->procfn, "capi/controllers/%d", ctr->cnr); - ctr->procent = proc_create_data(ctr->procfn, 0, NULL, ctr->proc_fops, ctr); + ctr->procent = proc_create_single_data(ctr->procfn, 0, NULL, + ctr->proc_show, ctr); ncontrollers++; |