1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 20:38:57 +02:00

generic: rtl8366: make rtl8366_set_vlan static

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22205 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2010-07-15 13:05:53 +00:00
parent 8007d48891
commit 12e4b34390
2 changed files with 2 additions and 5 deletions

View File

@ -307,8 +307,8 @@ static int rtl8366_mc_is_used(struct rtl8366_smi *smi, int mc_index, int *used)
return 0; return 0;
} }
int rtl8366_set_vlan(struct rtl8366_smi *smi, int vid, u32 member, u32 untag, static int rtl8366_set_vlan(struct rtl8366_smi *smi, int vid, u32 member,
u32 fid) u32 untag, u32 fid)
{ {
struct rtl8366_vlan_4k vlan4k; struct rtl8366_vlan_4k vlan4k;
int err; int err;
@ -347,7 +347,6 @@ int rtl8366_set_vlan(struct rtl8366_smi *smi, int vid, u32 member, u32 untag,
return err; return err;
} }
EXPORT_SYMBOL_GPL(rtl8366_set_vlan);
static int rtl8366_get_pvid(struct rtl8366_smi *smi, int port, int *val) static int rtl8366_get_pvid(struct rtl8366_smi *smi, int port, int *val)
{ {

View File

@ -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_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_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); int rtl8366_reset_vlan(struct rtl8366_smi *smi);
#ifdef CONFIG_RTL8366S_PHY_DEBUG_FS #ifdef CONFIG_RTL8366S_PHY_DEBUG_FS