forked from Minki/linux
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: 2c156ac71c
("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>
This commit is contained in:
parent
ccd36795be
commit
560dbc4654
@ -865,7 +865,7 @@ static int pci_endpoint_test_probe(struct pci_dev *pdev,
|
|||||||
goto err_release_irq;
|
goto err_release_irq;
|
||||||
}
|
}
|
||||||
misc_device->parent = &pdev->dev;
|
misc_device->parent = &pdev->dev;
|
||||||
misc_device->fops = &pci_endpoint_test_fops,
|
misc_device->fops = &pci_endpoint_test_fops;
|
||||||
|
|
||||||
err = misc_register(misc_device);
|
err = misc_register(misc_device);
|
||||||
if (err) {
|
if (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user