staging: netlogic: Fixed 1 multiple assignment checkpatch warning.
diff mbox

Message ID 1457687073-7782-1-git-send-email-laerdevstudios@gmail.com
State New
Headers show

Commit Message

laerdevstudios@gmail.com March 11, 2016, 9:04 a.m. UTC
From: Parth Sane <laerdevstudios@gmail.com>

Patch
diff mbox

diff --git a/drivers/staging/netlogic/platform_net.c b/drivers/staging/netlogic/platform_net.c
index 7806c2b..daee1b2 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->end = irq;
+	res->start = res->end;
 	res->flags = IORESOURCE_IRQ;
 }