aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index 929257d34ae4..842da900d7c1 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -244,7 +244,7 @@ static int rt2500pci_rfkill_poll(struct rt2x00_dev *rt2x00dev)
244 rt2x00pci_register_read(rt2x00dev, GPIOCSR, &reg); 244 rt2x00pci_register_read(rt2x00dev, GPIOCSR, &reg);
245 return rt2x00_get_field32(reg, GPIOCSR_BIT0); 245 return rt2x00_get_field32(reg, GPIOCSR_BIT0);
246} 246}
247#endif /* CONFIG_RT2400PCI_RFKILL */ 247#endif /* CONFIG_RT2500PCI_RFKILL */
248 248
249/* 249/*
250 * Configuration handlers. 250 * Configuration handlers.
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index 4c5e317a3ad7..6aa517645b6a 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -269,7 +269,7 @@ static int rt61pci_rfkill_poll(struct rt2x00_dev *rt2x00dev)
269 rt2x00pci_register_read(rt2x00dev, MAC_CSR13, &reg); 269 rt2x00pci_register_read(rt2x00dev, MAC_CSR13, &reg);
270 return rt2x00_get_field32(reg, MAC_CSR13_BIT5);; 270 return rt2x00_get_field32(reg, MAC_CSR13_BIT5);;
271} 271}
272#endif /* CONFIG_RT2400PCI_RFKILL */ 272#endif /* CONFIG_RT61PCI_RFKILL */
273 273
274/* 274/*
275 * Configuration handlers. 275 * Configuration handlers.