diff options
author | Laura Garcia Liebana <nevola@gmail.com> | 2016-02-14 14:10:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-14 16:49:09 -0800 |
commit | 76ee538178a1eef548d130251b6a269cce26288b (patch) | |
tree | e198f7f28929abc7c58e771b4a4e900abc0f0e55 /drivers/staging/netlogic | |
parent | 8cce78a73ff34ea4a5e0af03c929dc3f89781981 (diff) |
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>
Diffstat (limited to 'drivers/staging/netlogic')
-rw-r--r-- | drivers/staging/netlogic/platform_net.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/netlogic/platform_net.c b/drivers/staging/netlogic/platform_net.c index 7806c2bc3af3..74e154f62c70 100644 --- a/drivers/staging/netlogic/platform_net.c +++ b/drivers/staging/netlogic/platform_net.c @@ -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; } |