diff options
author | John W. Linville <linville@tuxdriver.com> | 2008-02-01 16:03:45 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-01 16:15:50 -0500 |
commit | 04a9e451fdbbfb84d6b87042b991f729f1c14249 (patch) | |
tree | f54b75f352b910517ba0280b5cad5474d436f846 /drivers/net/wireless/ath5k | |
parent | 3eadf5f4f635ed6a6cd921195c320d58b5f9a185 (diff) |
ath5k: fix section mismatch warning
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath5k')
-rw-r--r-- | drivers/net/wireless/ath5k/base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c index d6599d219193..ddc87149fe31 100644 --- a/drivers/net/wireless/ath5k/base.c +++ b/drivers/net/wireless/ath5k/base.c | |||
@@ -153,7 +153,7 @@ static int ath5k_pci_resume(struct pci_dev *pdev); | |||
153 | #define ath5k_pci_resume NULL | 153 | #define ath5k_pci_resume NULL |
154 | #endif /* CONFIG_PM */ | 154 | #endif /* CONFIG_PM */ |
155 | 155 | ||
156 | static struct pci_driver ath5k_pci_drv_id = { | 156 | static struct pci_driver ath5k_pci_driver = { |
157 | .name = "ath5k_pci", | 157 | .name = "ath5k_pci", |
158 | .id_table = ath5k_pci_id_table, | 158 | .id_table = ath5k_pci_id_table, |
159 | .probe = ath5k_pci_probe, | 159 | .probe = ath5k_pci_probe, |
@@ -329,7 +329,7 @@ init_ath5k_pci(void) | |||
329 | 329 | ||
330 | ath5k_debug_init(); | 330 | ath5k_debug_init(); |
331 | 331 | ||
332 | ret = pci_register_driver(&ath5k_pci_drv_id); | 332 | ret = pci_register_driver(&ath5k_pci_driver); |
333 | if (ret) { | 333 | if (ret) { |
334 | printk(KERN_ERR "ath5k_pci: can't register pci driver\n"); | 334 | printk(KERN_ERR "ath5k_pci: can't register pci driver\n"); |
335 | return ret; | 335 | return ret; |
@@ -341,7 +341,7 @@ init_ath5k_pci(void) | |||
341 | static void __exit | 341 | static void __exit |
342 | exit_ath5k_pci(void) | 342 | exit_ath5k_pci(void) |
343 | { | 343 | { |
344 | pci_unregister_driver(&ath5k_pci_drv_id); | 344 | pci_unregister_driver(&ath5k_pci_driver); |
345 | 345 | ||
346 | ath5k_debug_finish(); | 346 | ath5k_debug_finish(); |
347 | } | 347 | } |