misc: pci_endpoint_test: Terminate statement with semicolon
authorMing Wang <wangming01@loongson.cn>
Sat, 8 Jan 2022 09:09:37 +0000 (17:09 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Jan 2022 16:19:59 +0000 (10:19 -0600)
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>
drivers/misc/pci_endpoint_test.c

index 2ed7e3aaff3a83b4d244f4148e1a21fea83d911d..8f786a225dcf88fb0ce46185b331976c96226ce7 100644 (file)
@@ -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) {