summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMing Wang <wangming01@loongson.cn>2022-01-08 17:09:37 +0800
committerBjorn Helgaas <bhelgaas@google.com>2022-01-11 10:19:59 -0600
commit560dbc4654fa013fadcbcd9647904051d6fadc11 (patch)
treebadd3cbe2a7451a5f680ea3fc9f165e2745ac803
parentccd36795be48956248dc308f4525c06c7f419d76 (diff)
misc: pci_endpoint_test: Terminate statement with semicolon
Terminate the misc_device->fops assignment statement with a semicolon. Link: https://lore.kernel.org/r/1641632977-6588-1-git-send-email-wangming01@loongson.cn Fixes: 2c156ac71c6b ("misc: Add host side PCI driver for PCI test function device") Signed-off-by: Ming Wang <wangming01@loongson.cn> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--drivers/misc/pci_endpoint_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c
index 2ed7e3aaff3a..8f786a225dcf 100644
--- a/drivers/misc/pci_endpoint_test.c
+++ b/drivers/misc/pci_endpoint_test.c
@@ -865,7 +865,7 @@ static int pci_endpoint_test_probe(struct pci_dev *pdev,
goto err_release_irq;
}
misc_device->parent = &pdev->dev;
- misc_device->fops = &pci_endpoint_test_fops,
+ misc_device->fops = &pci_endpoint_test_fops;
err = misc_register(misc_device);
if (err) {