diff options
author | Joe Perches <joe@perches.com> | 2015-02-10 16:19:24 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-11 17:38:29 -0500 |
commit | 673e2baaa6d986e2fcd9c867661d8113f6c7dc7b (patch) | |
tree | c95761029876a8f1bfe20b2fda8fc1cc5de72d3c /drivers/net | |
parent | f7219b527b5710ae0c4add8faa4d0ea529722cb5 (diff) |
treewide: Remove unnecessary SSB_DEVTABLE_END macro
Use the normal {} instead of a macro to terminate an array.
Remove the macro too.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/broadcom/b44.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/b43/main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/b43legacy/main.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/b44.c b/drivers/net/ethernet/broadcom/b44.c index d86d6baf9681..bd5916a60cb5 100644 --- a/drivers/net/ethernet/broadcom/b44.c +++ b/drivers/net/ethernet/broadcom/b44.c | |||
@@ -121,7 +121,7 @@ static struct pci_driver b44_pci_driver = { | |||
121 | 121 | ||
122 | static const struct ssb_device_id b44_ssb_tbl[] = { | 122 | static const struct ssb_device_id b44_ssb_tbl[] = { |
123 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_ETHERNET, SSB_ANY_REV), | 123 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_ETHERNET, SSB_ANY_REV), |
124 | SSB_DEVTABLE_END | 124 | {}, |
125 | }; | 125 | }; |
126 | MODULE_DEVICE_TABLE(ssb, b44_ssb_tbl); | 126 | MODULE_DEVICE_TABLE(ssb, b44_ssb_tbl); |
127 | 127 | ||
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 6acb2b51ab8f..ccbdb05b28cd 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -144,7 +144,7 @@ static const struct ssb_device_id b43_ssb_tbl[] = { | |||
144 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 13), | 144 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 13), |
145 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 15), | 145 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 15), |
146 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 16), | 146 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 16), |
147 | SSB_DEVTABLE_END | 147 | {}, |
148 | }; | 148 | }; |
149 | MODULE_DEVICE_TABLE(ssb, b43_ssb_tbl); | 149 | MODULE_DEVICE_TABLE(ssb, b43_ssb_tbl); |
150 | #endif | 150 | #endif |
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index 1aec2146a2bf..4e58c0069830 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -86,7 +86,7 @@ MODULE_PARM_DESC(fwpostfix, "Postfix for the firmware files to load."); | |||
86 | static const struct ssb_device_id b43legacy_ssb_tbl[] = { | 86 | static const struct ssb_device_id b43legacy_ssb_tbl[] = { |
87 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 2), | 87 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 2), |
88 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 4), | 88 | SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 4), |
89 | SSB_DEVTABLE_END | 89 | {}, |
90 | }; | 90 | }; |
91 | MODULE_DEVICE_TABLE(ssb, b43legacy_ssb_tbl); | 91 | MODULE_DEVICE_TABLE(ssb, b43legacy_ssb_tbl); |
92 | 92 | ||