aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-30 17:38:22 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-05-30 17:38:22 +0000
commitc170d3c3e46fb164b22c23852f9299f9dacf72e0 (patch)
tree96797b01e26b869be1ffdd86c527d20d123cd63b /target/linux/generic/files/include
parent3467b17e69e2e4eebe7b21f4792e5da55ead970c (diff)
downloadupstream-c170d3c3e46fb164b22c23852f9299f9dacf72e0.tar.gz
upstream-c170d3c3e46fb164b22c23852f9299f9dacf72e0.tar.bz2
upstream-c170d3c3e46fb164b22c23852f9299f9dacf72e0.zip
generic: ar8216: add get_port_link callback
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36797
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