aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-07-15 13:05:53 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-07-15 13:05:53 +0000
commit60553e9fb4e55926297877c5d7a5b1aa20bca802 (patch)
tree3c407a835b63d9078d719cf223d81c78c73b72be /target/linux/generic/files
parent2693b15c0e0e9d73cf8592ac42946fec270c5eca (diff)
downloadupstream-60553e9fb4e55926297877c5d7a5b1aa20bca802.tar.gz
upstream-60553e9fb4e55926297877c5d7a5b1aa20bca802.tar.bz2
upstream-60553e9fb4e55926297877c5d7a5b1aa20bca802.zip
generic: rtl8366: make rtl8366_set_vlan static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22205 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/drivers/net/phy/rtl8366_smi.c5
-rw-r--r--target/linux/generic/files/drivers/net/phy/rtl8366_smi.h2
2 files changed, 2 insertions, 5 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
index 341f2e99ab..2b51c58e87 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
+++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
@@ -307,8 +307,8 @@ static int rtl8366_mc_is_used(struct rtl8366_smi *smi, int mc_index, int *used)
return 0;
}
-int rtl8366_set_vlan(struct rtl8366_smi *smi, int vid, u32 member, u32 untag,
- u32 fid)
+static int rtl8366_set_vlan(struct rtl8366_smi *smi, int vid, u32 member,
+ u32 untag, u32 fid)
{
struct rtl8366_vlan_4k vlan4k;
int err;
@@ -347,7 +347,6 @@ int rtl8366_set_vlan(struct rtl8366_smi *smi, int vid, u32 member, u32 untag,
return err;
}
-EXPORT_SYMBOL_GPL(rtl8366_set_vlan);
static int rtl8366_get_pvid(struct rtl8366_smi *smi, int port, int *val)
{
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
index 66448e6092..2cd4a8ff44 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
+++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
@@ -96,8 +96,6 @@ int rtl8366_smi_write_reg(struct rtl8366_smi *smi, u32 addr, u32 data);
int rtl8366_smi_read_reg(struct rtl8366_smi *smi, u32 addr, u32 *data);
int rtl8366_smi_rmwr(struct rtl8366_smi *smi, u32 addr, u32 mask, u32 data);
-int rtl8366_set_vlan(struct rtl8366_smi *smi, int vid, u32 member, u32 untag,
- u32 fid);
int rtl8366_reset_vlan(struct rtl8366_smi *smi);
#ifdef CONFIG_RTL8366S_PHY_DEBUG_FS