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
commit111bea7cd3387d475fd76c0ebd9470ae7a66b0a9 (patch)
tree1b8b42bd219d11eb57ecbb3ed27c5996fa3d5955 /target/linux/generic/files/include
parent133498bac5ac96ffeeafbdbcd711b980e1df927a (diff)
downloadmaster-187ad058-111bea7cd3387d475fd76c0ebd9470ae7a66b0a9.tar.gz
master-187ad058-111bea7cd3387d475fd76c0ebd9470ae7a66b0a9.tar.bz2
master-187ad058-111bea7cd3387d475fd76c0ebd9470ae7a66b0a9.zip
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