generic: rtl8366_smi: rename and drop conflicting vlan GPL symbols
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 4 Oct 2023 22:25:18 +0000 (00:25 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 6 Oct 2023 19:52:41 +0000 (21:52 +0200)
commit79ba851a8aabab9a21a9dec373f5559cce87f88c
tree0a9acce9a1600dc37db6794bc3274275dadb0074
parent2e3ea6d2066fdbb7955df61711c7a0c372c6626b
generic: rtl8366_smi: rename and drop conflicting vlan GPL symbols

Symbol rtl8366_enable_vlan and rtl8366_reset_vlan are also present in
the DSA driver upstream and conflicts as they are EXPORTED.

Rename them to rtl8366_smi_enable_vlan and rtl8366_smi_reset_vlan to fix
the conflict. While at it also make them static and drop the
EXPORT_SYMBOL_GPL as they are not actually used by any other driver and
exporting them is useless.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
target/linux/generic/files/drivers/net/phy/rtl8366_smi.h