diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2010-03-15 12:22:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-15 15:32:08 -0400 |
commit | d6e36ec1d04edec73fedeea89ec8027e3d215dcb (patch) | |
tree | 30cc9b2e57e7592dfae1c4f1a8e5a90b0783c4c3 /drivers | |
parent | 27ae60f8f7aac221b428422eecafddaa7aff9549 (diff) |
rt2x00: fix warning when building rt2800pci with just soc support
Fix compile warning "rt2800pci.c:1248: warning: 'rt2800pci_device_table'
defined but not used" when building rt2800pci with only soc support
(without pci).
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index 91cce2d0f6db..549a60ab3b64 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -1184,6 +1184,7 @@ static const struct rt2x00_ops rt2800pci_ops = { | |||
1184 | /* | 1184 | /* |
1185 | * RT2800pci module information. | 1185 | * RT2800pci module information. |
1186 | */ | 1186 | */ |
1187 | #ifdef CONFIG_RT2800PCI_PCI | ||
1187 | static DEFINE_PCI_DEVICE_TABLE(rt2800pci_device_table) = { | 1188 | static DEFINE_PCI_DEVICE_TABLE(rt2800pci_device_table) = { |
1188 | { PCI_DEVICE(0x1814, 0x0601), PCI_DEVICE_DATA(&rt2800pci_ops) }, | 1189 | { PCI_DEVICE(0x1814, 0x0601), PCI_DEVICE_DATA(&rt2800pci_ops) }, |
1189 | { PCI_DEVICE(0x1814, 0x0681), PCI_DEVICE_DATA(&rt2800pci_ops) }, | 1190 | { PCI_DEVICE(0x1814, 0x0681), PCI_DEVICE_DATA(&rt2800pci_ops) }, |
@@ -1211,6 +1212,7 @@ static DEFINE_PCI_DEVICE_TABLE(rt2800pci_device_table) = { | |||
1211 | #endif | 1212 | #endif |
1212 | { 0, } | 1213 | { 0, } |
1213 | }; | 1214 | }; |
1215 | #endif /* CONFIG_RT2800PCI_PCI */ | ||
1214 | 1216 | ||
1215 | MODULE_AUTHOR(DRV_PROJECT); | 1217 | MODULE_AUTHOR(DRV_PROJECT); |
1216 | MODULE_VERSION(DRV_VERSION); | 1218 | MODULE_VERSION(DRV_VERSION); |