]> 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)
commitdb891954abfbfa8fe93d8522c231b43506e806f2
tree0b8003d6247451f67d71cbe7de65c0d13bf64f4e
parent349209b0f086b551aeef8e3748bc6e9f6890770e
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