Skip to content

Commit

Permalink
misc: pci_endpoint_test: Terminate statement with semicolon
Browse files Browse the repository at this point in the history
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: 2c156ac ("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>
  • Loading branch information
Ming Wang authored and Bjorn Helgaas committed Jan 11, 2022
1 parent ccd3679 commit 560dbc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/misc/pci_endpoint_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 560dbc4

Please sign in to comment.