Commit 3a845b30 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Thomas Bogendoerfer

mips: kernel: convert comma to semicolon

Replace a comma between expression statements by a semicolon.
Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 5c8fe583
...@@ -193,7 +193,7 @@ void __init txx9_clockevent_init(unsigned long baseaddr, int irq, ...@@ -193,7 +193,7 @@ void __init txx9_clockevent_init(unsigned long baseaddr, int irq,
cd->min_delta_ns = clockevent_delta2ns(0xf, cd); cd->min_delta_ns = clockevent_delta2ns(0xf, cd);
cd->min_delta_ticks = 0xf; cd->min_delta_ticks = 0xf;
cd->irq = irq; cd->irq = irq;
cd->cpumask = cpumask_of(0), cd->cpumask = cpumask_of(0);
clockevents_register_device(cd); clockevents_register_device(cd);
if (request_irq(irq, txx9tmr_interrupt, IRQF_PERCPU | IRQF_TIMER, if (request_irq(irq, txx9tmr_interrupt, IRQF_PERCPU | IRQF_TIMER,
"txx9tmr", &txx9_clock_event_device)) "txx9tmr", &txx9_clock_event_device))
......
...@@ -365,8 +365,8 @@ int __init vpe_module_init(void) ...@@ -365,8 +365,8 @@ int __init vpe_module_init(void)
} }
device_initialize(&vpe_device); device_initialize(&vpe_device);
vpe_device.class = &vpe_class, vpe_device.class = &vpe_class;
vpe_device.parent = NULL, vpe_device.parent = NULL;
dev_set_name(&vpe_device, "vpe1"); dev_set_name(&vpe_device, "vpe1");
vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR); vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR);
err = device_add(&vpe_device); err = device_add(&vpe_device);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment