From fb47fd0d6b5b03eae3ad204265a398d32b422de0 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 9 Apr 2013 14:39:01 +0000 Subject: unbreak portmapping - typo fix Signed-off-by: John Crispin SVN-Revision: 36293 --- target/linux/generic/files/drivers/net/phy/swconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/files/drivers/net/phy/swconfig.c') diff --git a/target/linux/generic/files/drivers/net/phy/swconfig.c b/target/linux/generic/files/drivers/net/phy/swconfig.c index 5e95ab3d94..4e6d7136f0 100644 --- a/target/linux/generic/files/drivers/net/phy/swconfig.c +++ b/target/linux/generic/files/drivers/net/phy/swconfig.c @@ -987,7 +987,7 @@ of_switch_load_portmap(struct switch_dev *dev) const char *segment; int size, phys; - if (of_device_is_compatible(port, "swconfig,port")) + if (!of_device_is_compatible(port, "swconfig,port")) continue; if (of_property_read_string(port, "swconfig,segment", &segment)) -- cgit v1.2.3