浏览代码

[PATCH] rt2x00: Fix obvious typo in comment

Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Ivo van Doorn 17 年之前
父节点
当前提交
dcf5475bc8
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/net/wireless/rt2x00/rt2500pci.c
  2. 1 1
      drivers/net/wireless/rt2x00/rt61pci.c

+ 1 - 1
drivers/net/wireless/rt2x00/rt2500pci.c

@@ -244,7 +244,7 @@ static int rt2500pci_rfkill_poll(struct rt2x00_dev *rt2x00dev)
 	rt2x00pci_register_read(rt2x00dev, GPIOCSR, &reg);
 	rt2x00pci_register_read(rt2x00dev, GPIOCSR, &reg);
 	return rt2x00_get_field32(reg, GPIOCSR_BIT0);
 	return rt2x00_get_field32(reg, GPIOCSR_BIT0);
 }
 }
-#endif /* CONFIG_RT2400PCI_RFKILL */
+#endif /* CONFIG_RT2500PCI_RFKILL */
 
 
 /*
 /*
  * Configuration handlers.
  * Configuration handlers.

+ 1 - 1
drivers/net/wireless/rt2x00/rt61pci.c

@@ -269,7 +269,7 @@ static int rt61pci_rfkill_poll(struct rt2x00_dev *rt2x00dev)
 	rt2x00pci_register_read(rt2x00dev, MAC_CSR13, &reg);
 	rt2x00pci_register_read(rt2x00dev, MAC_CSR13, &reg);
 	return rt2x00_get_field32(reg, MAC_CSR13_BIT5);;
 	return rt2x00_get_field32(reg, MAC_CSR13_BIT5);;
 }
 }
-#endif /* CONFIG_RT2400PCI_RFKILL */
+#endif /* CONFIG_RT61PCI_RFKILL */
 
 
 /*
 /*
  * Configuration handlers.
  * Configuration handlers.