aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-08-12 14:51:59 +0200
committerJohn Crispin <john@phrozen.org>2016-08-15 15:18:35 +0200
commit675407baa44a8700de20b6b2857009a552a807ba (patch)
tree22e664fb64f38dc3346217a20b2fa933d2e31df7 /target/linux/generic/files/include/linux
parent63f6fc5c16996cc47369bb0d6ef28ccd39845e7b (diff)
downloadupstream-675407baa44a8700de20b6b2857009a552a807ba.tar.gz
upstream-675407baa44a8700de20b6b2857009a552a807ba.tar.bz2
upstream-675407baa44a8700de20b6b2857009a552a807ba.zip
kernel/swconfig: remove obsolete portmapping feature from swconfig
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/generic/files/include/linux')
-rw-r--r--target/linux/generic/files/include/linux/switch.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/target/linux/generic/files/include/linux/switch.h b/target/linux/generic/files/include/linux/switch.h
index dda4820a7a..a381fd006c 100644
--- a/target/linux/generic/files/include/linux/switch.h
+++ b/target/linux/generic/files/include/linux/switch.h
@@ -105,7 +105,6 @@ struct switch_dev_ops {
};
struct switch_dev {
- struct device_node *of_node;
const struct switch_dev_ops *ops;
/* will be automatically filled */
char devname[IFNAMSIZ];
@@ -126,7 +125,6 @@ struct switch_dev {
struct mutex sw_mutex;
struct switch_port *portbuf;
- struct switch_portmap *portmap;
struct switch_port_link linkbuf;
char buf[128];
@@ -141,11 +139,6 @@ struct switch_port {
u32 flags;
};
-struct switch_portmap {
- u32 virt;
- const char *s;
-};
-
struct switch_val {
const struct switch_attr *attr;
int port_vlan;