aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-10-17 03:42:18 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-10-18 14:06:58 -0400
commitd10b7547d5dcf2826e393a740d6a5d4cb8ce892e (patch)
tree0c93e18fc761d90f14177b698dc81abaf93d54d6 /drivers/net/wireless
parent0bc202b3bbea5106677b8b142a09d3d57a2bb263 (diff)
rt2x00: rt2800pci: use rt2800mmio prefix for RX control handler functions
The functions are used for devices with memory mapped I/O and contain no PCI specific code at all. Use rt2800mmio prefix instead of rt2800pci in the function names to reflect that. The patch contains no functional changes. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c
index b2e2b091dabb..37ac888ff83a 100644
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
@@ -630,8 +630,8 @@ static int rt2800pci_set_device_state(struct rt2x00_dev *rt2x00dev,
630/* 630/*
631 * RX control handlers 631 * RX control handlers
632 */ 632 */
633static void rt2800pci_fill_rxdone(struct queue_entry *entry, 633static void rt2800mmio_fill_rxdone(struct queue_entry *entry,
634 struct rxdone_entry_desc *rxdesc) 634 struct rxdone_entry_desc *rxdesc)
635{ 635{
636 struct queue_entry_priv_mmio *entry_priv = entry->priv_data; 636 struct queue_entry_priv_mmio *entry_priv = entry->priv_data;
637 __le32 *rxd = entry_priv->desc; 637 __le32 *rxd = entry_priv->desc;
@@ -1119,7 +1119,7 @@ static const struct rt2x00lib_ops rt2800pci_rt2x00_ops = {
1119 .write_tx_data = rt2800_write_tx_data, 1119 .write_tx_data = rt2800_write_tx_data,
1120 .write_beacon = rt2800_write_beacon, 1120 .write_beacon = rt2800_write_beacon,
1121 .clear_beacon = rt2800_clear_beacon, 1121 .clear_beacon = rt2800_clear_beacon,
1122 .fill_rxdone = rt2800pci_fill_rxdone, 1122 .fill_rxdone = rt2800mmio_fill_rxdone,
1123 .config_shared_key = rt2800_config_shared_key, 1123 .config_shared_key = rt2800_config_shared_key,
1124 .config_pairwise_key = rt2800_config_pairwise_key, 1124 .config_pairwise_key = rt2800_config_pairwise_key,
1125 .config_filter = rt2800_config_filter, 1125 .config_filter = rt2800_config_filter,