mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
staging: netlogic: Fix multiple irq assignments in a single line
Avoid the use of multiple assignments in a single line. Checkpatch found this issue. Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8cce78a73f
commit
76ee538178
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ static void xlr_resource_init(struct resource *res, int offset, int irq)
|
|||
|
||||
res++;
|
||||
res->name = "gmac";
|
||||
res->start = res->end = irq;
|
||||
res->start = irq;
|
||||
res->end = irq;
|
||||
res->flags = IORESOURCE_IRQ;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue