aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-08-14 20:10:33 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-14 20:10:33 -0400
commita11c5c9ef6dc562fc7df7aaf7911569a85f4d71c (patch)
tree6e0a6c7a259287e201ab3e727c8d85286e93159a /drivers/net/wireless/rt2x00
parent179c0ac67b9d947d2de69e9f08a743e7c74a8dce (diff)
parent9baa3c34ac4e27f7e062f266f50cc5dbea26a6c1 (diff)
Merge tag 'pci-v3.17-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull DEFINE_PCI_DEVICE_TABLE removal from Bjorn Helgaas: "Part two of the PCI changes for v3.17: - Remove DEFINE_PCI_DEVICE_TABLE macro use (Benoit Taine) It's a mechanical change that removes uses of the DEFINE_PCI_DEVICE_TABLE macro. I waited until later in the merge window to reduce conflicts, but it's possible you'll still see a few" * tag 'pci-v3.17-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt2800pci.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c
index 4ccfef5094e0..bdf5590ba304 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.c
+++ b/drivers/net/wireless/rt2x00/rt2400pci.c
@@ -1821,7 +1821,7 @@ static const struct rt2x00_ops rt2400pci_ops = {
1821/* 1821/*
1822 * RT2400pci module information. 1822 * RT2400pci module information.
1823 */ 1823 */
1824static DEFINE_PCI_DEVICE_TABLE(rt2400pci_device_table) = { 1824static const struct pci_device_id rt2400pci_device_table[] = {
1825 { PCI_DEVICE(0x1814, 0x0101) }, 1825 { PCI_DEVICE(0x1814, 0x0101) },
1826 { 0, } 1826 { 0, }
1827}; 1827};
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index a511cccc9f01..79f4fe65a119 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -2120,7 +2120,7 @@ static const struct rt2x00_ops rt2500pci_ops = {
2120/* 2120/*
2121 * RT2500pci module information. 2121 * RT2500pci module information.
2122 */ 2122 */
2123static DEFINE_PCI_DEVICE_TABLE(rt2500pci_device_table) = { 2123static const struct pci_device_id rt2500pci_device_table[] = {
2124 { PCI_DEVICE(0x1814, 0x0201) }, 2124 { PCI_DEVICE(0x1814, 0x0201) },
2125 { 0, } 2125 { 0, }
2126}; 2126};
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c
index a5b32ca2cf0f..cc1b3cc73c5a 100644
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
@@ -400,7 +400,7 @@ static const struct rt2x00_ops rt2800pci_ops = {
400/* 400/*
401 * RT2800pci module information. 401 * RT2800pci module information.
402 */ 402 */
403static DEFINE_PCI_DEVICE_TABLE(rt2800pci_device_table) = { 403static const struct pci_device_id rt2800pci_device_table[] = {
404 { PCI_DEVICE(0x1814, 0x0601) }, 404 { PCI_DEVICE(0x1814, 0x0601) },
405 { PCI_DEVICE(0x1814, 0x0681) }, 405 { PCI_DEVICE(0x1814, 0x0681) },
406 { PCI_DEVICE(0x1814, 0x0701) }, 406 { PCI_DEVICE(0x1814, 0x0701) },
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index 9048a9cbe52c..819455009fe4 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -3075,7 +3075,7 @@ static const struct rt2x00_ops rt61pci_ops = {
3075/* 3075/*
3076 * RT61pci module information. 3076 * RT61pci module information.
3077 */ 3077 */
3078static DEFINE_PCI_DEVICE_TABLE(rt61pci_device_table) = { 3078static const struct pci_device_id rt61pci_device_table[] = {
3079 /* RT2561s */ 3079 /* RT2561s */
3080 { PCI_DEVICE(0x1814, 0x0301) }, 3080 { PCI_DEVICE(0x1814, 0x0301) },
3081 /* RT2561 v2 */ 3081 /* RT2561 v2 */