summaryrefslogtreecommitdiffhomepage
path: root/system-dummy.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-26 20:12:32 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-26 20:12:32 +0200
commit10741b4974b85c825036eb0717ddc7112f96f5fb (patch)
tree2831132c400ca34a3d934cd3e00af81ec039d96e /system-dummy.c
parent73ea0284506a62324d7b7c92ec4982c2c5aff3b9 (diff)
recognize stacked interfaces (e.g. dsa) and handle their dependencies
Diffstat (limited to 'system-dummy.c')
-rw-r--r--system-dummy.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/system-dummy.c b/system-dummy.c
index d518d6f..7d651a5 100644
--- a/system-dummy.c
+++ b/system-dummy.c
@@ -79,6 +79,12 @@ int system_if_check(struct device *dev)
return 0;
}
+struct device *
+system_if_get_parent(struct device *dev)
+{
+ return NULL;
+}
+
int system_if_dump_stats(struct device *dev, struct blob_buf *b)
{
return 0;