summaryrefslogtreecommitdiff
path: root/target/linux/generic/files/include
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-30 17:38:22 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-30 17:38:22 +0000
commit3521294caecfe6edd8570f21aca8ef2071cd770a (patch)
tree1b8b42bd219d11eb57ecbb3ed27c5996fa3d5955 /target/linux/generic/files/include
parentb15560930eb06c8d6fadd483de3553fb7f1c982d (diff)
generic: ar8216: add get_port_link callback
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36797 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/include')
-rw-r--r--target/linux/generic/files/include/linux/ar8216_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/ar8216_platform.h b/target/linux/generic/files/include/linux/ar8216_platform.h
index c6c6144e85..92e8eda663 100644
--- a/target/linux/generic/files/include/linux/ar8216_platform.h
+++ b/target/linux/generic/files/include/linux/ar8216_platform.h
@@ -78,6 +78,8 @@ struct ar8327_platform_data {
struct ar8327_port_cfg port0_cfg;
struct ar8327_port_cfg port6_cfg;
struct ar8327_led_cfg *led_cfg;
+
+ int (*get_port_link)(unsigned port);
};
#endif /* AR8216_PLATFORM_H */ \ No newline at end of file