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)
commit1e7d30355d91c70e2557daf3dac633255202d2df
tree0b8003d6247451f67d71cbe7de65c0d13bf64f4e
parent28d4d98d7ad11b540f0041be9e7d4dae15ca22fa
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