summaryrefslogtreecommitdiff
path: root/drivers/isdn/hardware/avm/b1isa.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-11 19:39:29 +0300
committerChristoph Hellwig <hch@lst.de>2018-05-16 08:24:30 +0300
commit2cd1f0ddbb5667f61e69089964209e8f716e9009 (patch)
tree03903b37054967d333cbefad3804c0b137ebe015 /drivers/isdn/hardware/avm/b1isa.c
parenta2d03aac5197e708711c65718fbcadc91b5b0b06 (diff)
downloadlinux-2cd1f0ddbb5667f61e69089964209e8f716e9009.tar.xz
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/hardware/avm/b1isa.c')
-rw-r--r--drivers/isdn/hardware/avm/b1isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/avm/b1isa.c b/drivers/isdn/hardware/avm/b1isa.c
index 54e871a47387..cdfea72e0ef6 100644
--- a/drivers/isdn/hardware/avm/b1isa.c
+++ b/drivers/isdn/hardware/avm/b1isa.c
@@ -121,7 +121,7 @@ static int b1isa_probe(struct pci_dev *pdev)
cinfo->capi_ctrl.load_firmware = b1_load_firmware;
cinfo->capi_ctrl.reset_ctr = b1_reset_ctr;
cinfo->capi_ctrl.procinfo = b1isa_procinfo;
- cinfo->capi_ctrl.proc_fops = &b1ctl_proc_fops;
+ cinfo->capi_ctrl.proc_show = b1_proc_show;
strcpy(cinfo->capi_ctrl.name, card->name);
retval = attach_capi_ctr(&cinfo->capi_ctrl);