aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/swconfig.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-04-09 14:39:01 +0000
committerJohn Crispin <blogic@openwrt.org>2013-04-09 14:39:01 +0000
commit7b7317fc258b990d892bcb62d679e4431759572a (patch)
treeacc3a2afc47e78b74ede682330e2a28394e1bec4 /target/linux/generic/files/drivers/net/phy/swconfig.c
parent64e2eeb91c60ffb4858684b7ca98ac9eefb0c69b (diff)
downloadmaster-187ad058-7b7317fc258b990d892bcb62d679e4431759572a.tar.gz
master-187ad058-7b7317fc258b990d892bcb62d679e4431759572a.tar.bz2
master-187ad058-7b7317fc258b990d892bcb62d679e4431759572a.zip
[ramips] unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36293 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/swconfig.c')
-rw-r--r--target/linux/generic/files/drivers/net/phy/swconfig.c2
1 files changed, 1 insertions, 1 deletions
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))