mt76x0: rename mt76_* functions
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 3 Aug 2018 11:44:39 +0000 (13:44 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 4 Aug 2018 06:05:50 +0000 (09:05 +0300)
commit909da6e4b577be65432ba4bcede3e036db2d1dc8
treebc88608c39420eca20dae4ff52d105774d6831ab
parent28b9188483908b2579fc4bbb2ec07e9ffdca69f7
mt76x0: rename mt76_* functions

mt76_* functions conflicts with mt7601u driver what prevents to build
those drivers in the kernel or use both drivers modules at once.

Patch fixes build errors like this:
ld: drivers/net/wireless/mediatek/mt76/mt76x0/mac.o:(.opd+0x30): multiple definition of `mt76_mac_tx_rate_val'; drivers/net/wireless/mediatek/mt7601u/mac.o:(.opd+0x30): first defined here

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 7b4859026ccd ("mt76x0: core files")
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt76x0/dma.c
drivers/net/wireless/mediatek/mt76/mt76x0/mac.c
drivers/net/wireless/mediatek/mt76/mt76x0/mac.h
drivers/net/wireless/mediatek/mt76/mt76x0/main.c
drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h
drivers/net/wireless/mediatek/mt76/mt76x0/tx.c
drivers/net/wireless/mediatek/mt76/mt76x0/util.c