Skip to content

Commit

Permalink
ralink: unbreak port4 on mt7620
Browse files Browse the repository at this point in the history
Signed-off-by: John Crispin <[email protected]>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48746 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
John Crispin committed Feb 19, 2016
1 parent 09b8774 commit 4497cd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Signed-off-by: John Crispin <[email protected]>
+ struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+ const char *port4 = NULL;
+ struct mt7620_gsw *gsw;
+ struct device_node *np;
+ struct device_node *np = pdev->dev.of_node;
+
+ gsw = devm_kzalloc(&pdev->dev, sizeof(struct mt7620_gsw), GFP_KERNEL);
+ if (!gsw)
Expand Down

0 comments on commit 4497cd9

Please sign in to comment.