aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/kpc2000/kpc2000/core.c
diff options
context:
space:
mode:
authorSimon Sandström <simon@nikanor.nu>2019-06-04 00:29:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-06 14:57:01 +0200
commitc1c7830cc717e1b45a65d626c89074737351b479 (patch)
tree94cf45e41b43f0c5c128526753a9b498fec20130 /drivers/staging/kpc2000/kpc2000/core.c
parentstaging: kpc2000: use sizeof(var) in kzalloc call (diff)
downloadlinux-dev-c1c7830cc717e1b45a65d626c89074737351b479.tar.xz
linux-dev-c1c7830cc717e1b45a65d626c89074737351b479.zip
staging: kpc2000: fix incorrect code comment in core.c
Step 11 was removed from kp2000_pcie_probe in a previous commit but the comment was not changed to reflect this, so do it now. Signed-off-by: Simon Sandström <simon@nikanor.nu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/kpc2000/kpc2000/core.c')
-rw-r--r--drivers/staging/kpc2000/kpc2000/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/kpc2000/kpc2000/core.c b/drivers/staging/kpc2000/kpc2000/core.c
index 2d8d188624f7..cd3876f1ce17 100644
--- a/drivers/staging/kpc2000/kpc2000/core.c
+++ b/drivers/staging/kpc2000/kpc2000/core.c
@@ -501,7 +501,7 @@ static int kp2000_pcie_probe(struct pci_dev *pdev,
goto out10;
/*
- * Step 12: Enable IRQs in HW
+ * Step 11: Enable IRQs in HW
*/
writel(KPC_DMA_CARD_IRQ_ENABLE | KPC_DMA_CARD_USER_INTERRUPT_MODE,
pcard->dma_common_regs);