]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: rtl8188eu: make efuse_power_switch() function static
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Wed, 16 Oct 2019 06:58:34 +0000 (09:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Oct 2019 02:40:39 +0000 (22:40 -0400)
commitbb84f28f0d865a4c0b4a7405683d32748b27d03a
tree1d437b3a108b16ffc40941dc91885324a972b5f6
parent390e4f967299179d5b43a3d265150500d8fe2986
staging: rtl8188eu: make efuse_power_switch() function static

The `rtl8188eu` driver is built as a kmod in order to avoid symbol
conflicts (at link-time) with other Realtek drivers.

Internally, we use this driver as builtin [vs kmod], and we've identified
the `efuse_power_switch()` symbol to be conflicting at link-time with the
one from the `rtlwifi` driver.

An alternative solution would have been to rename the function, but it
doesn't look like it's being used outside of this driver, so just make it
static.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20191016065834.12186-1-alexandru.ardelean@analog.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_efuse.c
drivers/staging/rtl8188eu/include/rtw_efuse.h