OSDN Git Service

mips: pci: convert comma to semicolon
authorZheng Yongjun <zhengyongjun3@huawei.com>
Wed, 16 Dec 2020 13:10:04 +0000 (21:10 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 28 Dec 2020 21:33:43 +0000 (22:33 +0100)
Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/vpe-cmp.c
arch/mips/pci/pci-ar2315.c

index 9268ebc..e673603 100644 (file)
@@ -117,8 +117,8 @@ int __init vpe_module_init(void)
        }
 
        device_initialize(&vpe_device);
-       vpe_device.class        = &vpe_class,
-       vpe_device.parent       = NULL,
+       vpe_device.class        = &vpe_class;
+       vpe_device.parent       = NULL;
        dev_set_name(&vpe_device, "vpe_sp");
        vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR);
        err = device_add(&vpe_device);
index 0b15730..f741b8c 100644 (file)
@@ -483,11 +483,11 @@ static int ar2315_pci_probe(struct platform_device *pdev)
        apc->io_res.name = "AR2315 IO space";
        apc->io_res.start = 0;
        apc->io_res.end = 0;
-       apc->io_res.flags = IORESOURCE_IO,
+       apc->io_res.flags = IORESOURCE_IO;
 
        apc->pci_ctrl.pci_ops = &ar2315_pci_ops;
-       apc->pci_ctrl.mem_resource = &apc->mem_res,
-       apc->pci_ctrl.io_resource = &apc->io_res,
+       apc->pci_ctrl.mem_resource = &apc->mem_res;
+       apc->pci_ctrl.io_resource = &apc->io_res;
 
        register_pci_controller(&apc->pci_ctrl);