]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: rt2800pci: split rt2800pci_enable_radio function
authorGabor Juhos <juhosg@openwrt.org>
Thu, 17 Oct 2013 07:42:31 +0000 (09:42 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:07:00 +0000 (14:07 -0400)
commit4631849a76422073764961db12aa18568a8de0ce
tree0b8003d6247451f67d71cbe7de65c0d13bf64f4e
parentddb962b17d674bc7d1a801b678b8593765545374
rt2x00: rt2800pci: split rt2800pci_enable_radio function

The function is called for PCI and SoC devices
however the MCU related part of the function
has no effect on SoC devices. Move the common
part of the function into a separate helper and
use that for the SoC devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800pci.c